From 2e6c3a2849e7909344de8d6456002d7f8d046477 Mon Sep 17 00:00:00 2001 From: kris Date: Sun, 13 Oct 2002 11:26:37 +0000 Subject: Mark the logerr() function __printflike(). MFC after: 3 days --- libexec/fingerd/fingerd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/fingerd') diff --git a/libexec/fingerd/fingerd.c b/libexec/fingerd/fingerd.c index ed41458..85fda51 100644 --- a/libexec/fingerd/fingerd.c +++ b/libexec/fingerd/fingerd.c @@ -62,7 +62,7 @@ static const char rcsid[] = #include #include "pathnames.h" -void logerr(const char *, ...); +void logerr(const char *, ...) __printflike(1, 2); int main(int argc, char *argv[]) -- cgit v1.1