mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Match size_t and ssize_t by using %zu and %zd instead of %d.
MFC after: 1 month
This commit is contained in:
parent
a2d5d610cb
commit
d1d6559b08
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ elf_coredump(int efd __unused, int fd, pid_t pid)
|
|||
ptrace(PT_IO, pid, (caddr_t)&iorequest, 0);
|
||||
ngot = iorequest.piod_len;
|
||||
if ((size_t)ngot < nwant)
|
||||
errx(1, "short read wanted %d, got %d",
|
||||
errx(1, "short read wanted %zu, got %zd",
|
||||
nwant, ngot);
|
||||
ngot = write(fd, buf, nwant);
|
||||
if (ngot == -1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue