]> granicus.if.org Git - procps-ng/commit
vmstat: sys variables are unsigned longs
authorCraig Small <csmall@dropbear.xyz>
Mon, 16 May 2016 10:03:11 +0000 (20:03 +1000)
committerCraig Small <csmall@dropbear.xyz>
Mon, 16 May 2016 10:03:11 +0000 (20:03 +1000)
commitc1a3b457554eea79c97dd9c3481a2fd14d93e420
tree31d96cfbb3f777a71fe927f0fb7a420cedb56dce
parent591ae1746c1fcc6a1ab9890ad8503a72529b4e9d
vmstat: sys variables are unsigned longs

When the API changed for the use_format the type changed for the
system variables out of stat, but the printf format was not changed
along with it.

vmstat.c:868:14: warning: format ‘%lld’ expects argument of type ‘long
long int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
     printf(_("%13lld interrupts\n"), SYSv(sstat_INT));

References:
 commit 2e6435a39dd8260462652b999c1bb45e15ae0d62

Signed-off-by: Craig Small <csmall@dropbear.xyz>
vmstat.c