From 760eb2e0333c7fd4a7f0c0f29e42e9fc4699668e Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 16 Apr 2003 20:07:48 +0000 Subject: [PATCH] Fix printf format in a debug printf. --- sys/compat/linux/linux_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 8e86706bf02b..7dc069ac9d6b 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, "%d"), args->per); + printf(ARGS(personality, "%ld"), args->per); #endif #ifndef __alpha__ if (args->per != 0)