aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2005-01-19 21:14:47 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2005-01-19 21:14:47 +0000
commit311ee9e7925d62b72d852715330062177b224176 (patch)
tree41af279f631b32aedca9d37ce98c35992a15b3d4
parent8c13fd92c735ee86b42db3351b4c2b34e59fbe72 (diff)
downloadmonitoring-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
-rw-r--r--plugins/check_swap.c2
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)
# ifdef _AIX
if (!allswaps) {
asprintf(&swap_command, "%s", "/usr/sbin/lsps -s");
- asprintf(&swap_format, "%s", "%d%*s %d");
+ asprintf(&swap_format, "%s", "%f%*s %f");
conv_factor = 1;
}
# endif