diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2007-01-21 13:18:52 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2007-01-21 13:18:52 +0000 |
commit | eff9c72b4bed611c36f382cb84d317e59152bf78 (patch) | |
tree | aa91eb52f7bcc90d7792b87924597811199e7b1a /sys/compat | |
parent | 8a7b7c22beb7ba24f4fc3194d41e3a505d656b10 (diff) | |
download | src-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.c | 4 |
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 |