diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-04-21 19:17:46 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-04-21 19:17:46 -0300 |
commit | 3fbd1ef76d5c17e7180b91475636d02c14f60fe2 (patch) | |
tree | d881058511a5698ef268570fd9019dbaaf2ba107 /ProcessList.c | |
parent | 30bafafb240388a63aecc4053414dca0289c7b7b (diff) |
check return of topoErr
Diffstat (limited to 'ProcessList.c')
-rw-r--r-- | ProcessList.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ProcessList.c b/ProcessList.c index e0c1f816..343885c7 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -224,6 +224,8 @@ ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList) { int topoErr = hwloc_topology_init(&this->topology); if (topoErr == 0) { topoErr = hwloc_topology_load(this->topology); + } + if (topoErr == 0) { this->topologyOk = true; } #endif |