summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-04-16 20:07:48 +0000
committerjhb <jhb@FreeBSD.org>2003-04-16 20:07:48 +0000
commit277277d98938c63331bfcb777756729c946b26e5 (patch)
tree53c375d84a51cd92445b956e90c776f3fb51147a /sys
parent3b3b4c3bfc49572ba5252232a010ec1f5eb45a6a (diff)
downloadFreeBSD-src-277277d98938c63331bfcb777756729c946b26e5.zip
FreeBSD-src-277277d98938c63331bfcb777756729c946b26e5.tar.gz
Fix printf format in a debug printf.
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/linux/linux_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 8e86706..7dc069a 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)
OpenPOWER on IntegriCloud