sched: fix warning in fs/proc/base.c
authorIngo Molnar <mingo@elte.hu>
Mon, 22 Dec 2008 06:37:41 +0000 (07:37 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 22 Dec 2008 06:41:06 +0000 (07:41 +0100)
commit826e08b0157c0ce8a80dfe3c0a6c5a1540dd0b1d
tree7bf9ec3611721a05aaac7053b8626cf9feff1c9f
parent9c2c48020ec0dd6ecd27e5a1298f73b40d85a595
sched: fix warning in fs/proc/base.c

Stephen Rothwell reported this new (harmless) build warning on platforms that
define u64 to long:

 fs/proc/base.c: In function 'proc_pid_schedstat':
 fs/proc/base.c:352: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'u64'

asm-generic/int-l64.h platforms strike again: that file should be eliminated.

Fix it by casting the parameters to long long.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
fs/proc/base.c