mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix compilation warnings on sparc.
Cast sizeof to int for printing with %d.
This commit is contained in:
parent
c3521a9fdc
commit
d4346413c3
1 changed files with 2 additions and 2 deletions
|
|
@ -837,8 +837,8 @@ tryagain:
|
|||
if (!error && auio.uio_resid > 0) {
|
||||
log(LOG_INFO,
|
||||
"short receive (%d/%d) from rpc server %s\n",
|
||||
sizeof(u_int32_t) - auio.uio_resid,
|
||||
sizeof(u_int32_t),
|
||||
(int) sizeof(u_int32_t) - auio.uio_resid,
|
||||
(int) sizeof(u_int32_t),
|
||||
rep->r_rpcclnt->rc_prog->prog_name);
|
||||
error = EPIPE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue