]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tftp: Use printf0 attribute for options_set_request/reply.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Nov 2022 16:37:26 +0000 (08:37 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Nov 2022 16:37:26 +0000 (08:37 -0800)
commit8576f84bc1d75c2bae0a41ccb6ebe5de08479a06
treeff8afe2b35dfcef98e445e21b811b54293b6aea3
parent7e3e70ce214d042e202828b0665904840928a002
tftp: Use printf0 attribute for options_set_request/reply.

These functions accept a NULL format argument so should use the printf0
attribute rather than plain printf.

Reported by: GCC -Wformat
libexec/tftpd/tftp-options.h