Code

Solaris and Unixware labels round the wrong way for swap command
authorTon Voon <tonvoon@users.sourceforge.net>
Sat, 22 Feb 2003 19:06:45 +0000 (19:06 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Sat, 22 Feb 2003 19:06:45 +0000 (19:06 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@354 f882894a-f735-0410-b71e-b25c423dba1c

configure.in

index 7b3dd0821e82473c9ed28effdc69b02b7429b8fb..380307bd66eddcfa674aa4d61e0c3ce69ebb33de 100644 (file)
@@ -909,11 +909,11 @@ then
        elif [swap -l 2>/dev/null | egrep -i "^swapfile +dev +swaplo +blocks +free" >/dev/null]
        then
                AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %*[[0-9,-]] %*d %d %d"],[Format string for parsing swap output])
-               echo "      using UnixWare format"
+               echo "      using Solaris format"
        elif [swap -l 2>/dev/null | egrep -i "^path +dev +swaplo +blocks +free" >/dev/null]
        then
                AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %*[[0-9,-]] %*d %d %d"],[Format string for parsing swap output])
-               echo "      using Solaris format"
+               echo "      using Unixware format"
        fi
        EXTRAS="$EXTRAS check_swap"
 elif [swapinfo -k 2>&1 | egrep -i "^Device" >/dev/null]