Use a printf-modifier which doesn't need a cast.

Submitted by:	scottl
This commit is contained in:
Alexander Leidinger 2007-01-21 13:18:52 +00:00
parent 8a7b7c22be
commit eff9c72b4b

View file

@ -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