summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2005-01-19 21:14:47 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2005-01-19 21:14:47 (GMT)
commit311ee9e7925d62b72d852715330062177b224176 (patch)
tree41af279f631b32aedca9d37ce98c35992a15b3d4 /plugins
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
Diffstat (limited to 'plugins')
-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 3396575..ef1b950 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