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 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) # 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 v0.10-9-g596f