aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linprocfs/linprocfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c
index 2a8d32f32be2..9b8b88b5fb59 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/%jd, mapping to R\n",
- kp.ki_stat, (intmax_t)sizeof(linux_state));
+ printf("linprocfs: don't know how to handle unknown FreeBSD state %d/%zd, mapping to R\n",
+ kp.ki_stat, sizeof(linux_state));
++ratelimit;
}
} else