diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index f66766fe752a..2a8d32f32be2 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -474,8 +474,8 @@ linprocfs_doprocstat(PFS_FILL_ARGS) state = 'R'; if (ratelimit == 0) { - printf("linprocfs: don't know how to handle unknown FreeBSD state %d/%d, mapping to R\n", - kp.ki_stat, sizeof(linux_state)); + printf("linprocfs: don't know how to handle unknown FreeBSD state %d/%jd, mapping to R\n", + kp.ki_stat, (intmax_t)sizeof(linux_state)); ++ratelimit; } } else