From 20b04da89c249ff2a46c094ee1f46a06e47e863c Mon Sep 17 00:00:00 2001 From: John Baldwin 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 7dc069ac9d6b..4e9502047bc1 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.2.3