Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
3fbd1ef7
Commit
3fbd1ef7
authored
Apr 21, 2014
by
Hisham Muhammad
Browse files
check return of topoErr
parent
30bafafb
Changes
1
Hide whitespace changes
Inline
Side-by-side
ProcessList.c
View file @
3fbd1ef7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment