aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2007-01-21 13:18:52 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2007-01-21 13:18:52 +0000
commiteff9c72b4bed611c36f382cb84d317e59152bf78 (patch)
treeaa91eb52f7bcc90d7792b87924597811199e7b1a /sys/compat
parent8a7b7c22beb7ba24f4fc3194d41e3a505d656b10 (diff)
downloadsrc-eff9c72b4bed611c36f382cb84d317e59152bf78.tar.gz
src-eff9c72b4bed611c36f382cb84d317e59152bf78.zip
Use a printf-modifier which doesn't need a cast.
Submitted by: scottl
Notes
Notes: svn path=/head/; revision=166162
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