diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2005-01-19 21:14:47 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2005-01-19 21:14:47 +0000 |
commit | 311ee9e7925d62b72d852715330062177b224176 (patch) | |
tree | 41af279f631b32aedca9d37ce98c35992a15b3d4 /plugins/check_swap.c | |
parent | 8c13fd92c735ee86b42db3351b4c2b34e59fbe72 (diff) | |
download | monitoring-plugins-311ee9e7925d62b72d852715330062177b224176.tar.gz |
Fixed parsing of AIX lsps command (1093522)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1084 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r-- | plugins/check_swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c index 33965752..ef1b9500 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c | |||
@@ -136,7 +136,7 @@ main (int argc, char **argv) | |||
136 | # ifdef _AIX | 136 | # ifdef _AIX |
137 | if (!allswaps) { | 137 | if (!allswaps) { |
138 | asprintf(&swap_command, "%s", "/usr/sbin/lsps -s"); | 138 | asprintf(&swap_command, "%s", "/usr/sbin/lsps -s"); |
139 | asprintf(&swap_format, "%s", "%d%*s %d"); | 139 | asprintf(&swap_format, "%s", "%f%*s %f"); |
140 | conv_factor = 1; | 140 | conv_factor = 1; |
141 | } | 141 | } |
142 | # endif | 142 | # endif |