From a75f698977f1e8c705a46dac48767aa87df9dd79 Mon Sep 17 00:00:00 2001 From: Gilles Espinasse Date: Tue, 26 Mar 2013 10:16:43 +0100 Subject: [PATCH] procps-ng : fix readproc gnu_scanf format warnings readproc.c: In function 'stat2proc' : readproc.c:516: warning: use of assignment suppression and length modifier together in gnu_scanf format readproc.c:516: warning: use of assignment suppression and length modifier together in gnu_scanf format Signed-off-by: Gilles Espinasse --- proc/readproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/readproc.c b/proc/readproc.c index b9408051..652dc30e 100644 --- a/proc/readproc.c +++ b/proc/readproc.c @@ -493,7 +493,7 @@ ENTER(0x160); "%ld " "%lu %"KLF"u %"KLF"u %"KLF"u %"KLF"u %"KLF"u " "%*s %*s %*s %*s " /* discard, no RT signals & Linux 2.1 used hex */ - "%"KLF"u %*lu %*lu " + "%"KLF"u %*u %*u " "%d %d " "%lu %lu", &P->state,