summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/files/patch-configure
blob: 683ce1be1e890b615c8fa248e640fd5f910c8c88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.orig	2017-04-19 18:03:27.000000000 +0200
+++ configure	
@@ -22004,7 +22004,7 @@
 $as_echo "$ac_cv_ps_command" >&6; }
 
 elif ps -axwwo 'stat comm vsz rss user uid pid ppid args' 2>/dev/null | \
-	egrep -i "^ *STAT +[UCOMAND]+ +VSZ +RSS +USER +UID +PID +PPID +COMMAND" > /dev/null
+	egrep -i "^ *STAT +COMMAND +VSZ +RSS +USER +UID +PID +PPID +COMMAND" > /dev/null
 then
 	ac_cv_ps_varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos"
 	ac_cv_ps_command="$PATH_TO_PS -axwwo 'stat uid pid ppid vsz rss pcpu comm args'"
@@ -23798,7 +23798,7 @@
 
 	if $PATH_TO_SWAPINFO -k 2>/dev/null | egrep -i "^Device +1K-blocks +Used +Avail" >/dev/null
 	then
-		ac_cv_swap_format="%*s %f %*d %f"
+		ac_cv_swap_format="%*s %lf %*d %lf"
 		ac_cv_swap_conv=1024
 		{ $as_echo "$as_me:$LINENO: result: using FreeBSD format swapinfo" >&5
 $as_echo "using FreeBSD format swapinfo" >&6; }