tftpd: type nit
Sponsored by: Klara, Inc.
This commit is contained in:
parent
b9fabe997f
commit
cf325fda86
@ -147,7 +147,7 @@ option_tsize(int peer __unused, struct tftphdr *tp __unused, int mode,
|
|||||||
return (0);
|
return (0);
|
||||||
|
|
||||||
if (mode == RRQ)
|
if (mode == RRQ)
|
||||||
options_set_reply(OPT_TSIZE, "%ju", stbuf->st_size);
|
options_set_reply(OPT_TSIZE, "%ju", (uintmax_t)stbuf->st_size);
|
||||||
else
|
else
|
||||||
/* XXX Allows writes of all sizes. */
|
/* XXX Allows writes of all sizes. */
|
||||||
options_set_reply_equal_request(OPT_TSIZE);
|
options_set_reply_equal_request(OPT_TSIZE);
|
||||||
|
Loading…
Reference in New Issue
Block a user