Date: Sun, 12 Mar 2017 11:54:35 +0000 (UTC) From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315143 - head/lib/libfetch Message-ID: <201703121154.v2CBsZZN025363@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Sun Mar 12 11:54:35 2017 New Revision: 315143 URL: https://svnweb.freebsd.org/changeset/base/315143 Log: Add a __printflike() that would have caught the bug fixed in r314396. Modified: head/lib/libfetch/common.h Modified: head/lib/libfetch/common.h ============================================================================== --- head/lib/libfetch/common.h Sun Mar 12 10:56:19 2017 (r315142) +++ head/lib/libfetch/common.h Sun Mar 12 11:54:35 2017 (r315143) @@ -73,7 +73,7 @@ struct iovec; void fetch_seterr(struct fetcherr *, int); void fetch_syserr(void); -void fetch_info(const char *, ...); +void fetch_info(const char *, ...) __printflike(1, 2); int fetch_default_port(const char *); int fetch_default_proxy_port(const char *); struct addrinfo *fetch_resolve(const char *, int, int);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703121154.v2CBsZZN025363>