From 373f7eda612b6ee1acc07ceaf8f8a7af88a2b4f4 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 16 Apr 2003 20:43:10 +0000 Subject: Explicitly cast a l_ulong to an unsigned long to make all arch's happy with the printf format. --- sys/compat/linux/linux_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/compat/linux/linux_misc.c') diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 7dc069a..4e95020 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -878,7 +878,7 @@ linux_personality(struct thread *td, struct linux_personality_args *args) { #ifdef DEBUG if (ldebug(personality)) - printf(ARGS(personality, "%ld"), args->per); + printf(ARGS(personality, "%lu"), (unsigned long)args->per); #endif #ifndef __alpha__ if (args->per != 0) -- cgit v1.1