ps: fix compiler warnings
common.h:23:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] global.c:499:3: warning: ISO C does not support the '%Ld' gnu_printf format [-Wformat] output.c:134:1: warning: 'sr_cstime' defined but not used [-Wunused-function] output.c:816:3: warning: ISO C does not support the '%Lu' gnu_printf format [-Wformat] output.c:816:3: warning: ISO C does not support the '%Lu' gnu_printf format [-Wformat] Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
@@ -492,7 +492,7 @@ void self_info(void){
|
||||
|
||||
fprintf(stderr,
|
||||
"personality=0x%08x (from \"%s\")\n"
|
||||
"EUID=%d TTY=%d,%d Hertz=%Ld page_size=%d\n",
|
||||
"EUID=%d TTY=%d,%d Hertz=%lld page_size=%d\n",
|
||||
personality, saved_personality_text,
|
||||
cached_euid, (int)major(cached_tty), (int)minor(cached_tty), Hertz,
|
||||
(int)(page_size)
|
||||
|
||||
Reference in New Issue
Block a user