summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r--sys/kern/kern_proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index d1ef108..8aba71a 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -97,8 +97,8 @@ procinit()
* not know of any way to do that...
*/
if (sizeof(struct kinfo_proc) != KINFO_PROC_SIZE)
- printf("WARNING: size of kinfo_proc (%d) should be %d!!!\n",
- sizeof(struct kinfo_proc), KINFO_PROC_SIZE);
+ printf("WARNING: size of kinfo_proc (%ld) should be %d!!!\n",
+ (long)sizeof(struct kinfo_proc), KINFO_PROC_SIZE);
}
/*
OpenPOWER on IntegriCloud