author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 3 Sep 2010 10:48:26 +0000 (12:48 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 3 Sep 2010 10:48:26 +0000 (12:48 +0200) | ||
commit | fc562e3e9264474183b430f71972cca6434691b3 | |
tree | 1c9dff6cf1e6ee5d3e4cbc6f0601d7b4617b9961 | tree | snapshot |
parent | 51f35f06cdcae02cc5c71baab2ac6a85d155d5a0 | commit | diff |
lpar plugin: Fix error handling of the "perfstat_partition_total" function.
According to the documentation the function returns -1 on error. The
code now assumes anything but one (the number of structures filled) as
error.
According to the documentation the function returns -1 on error. The
code now assumes anything but one (the number of structures filled) as
error.
src/lpar.c | diff | blob | history |