mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Use a printf-modifier which doesn't need a cast.
Submitted by: scottl
This commit is contained in:
parent
8a7b7c22be
commit
eff9c72b4b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue