From 311ee9e7925d62b72d852715330062177b224176 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 19 Jan 2005 21:14:47 +0000 Subject: 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 --- plugins/check_swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3-74-g34f1