diff options
| author | joerg <joerg@NetBSD.org> | 2012-03-15 02:02:20 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2012-03-15 02:02:20 +0000 |
| commit | 85ebf103375262b27fffdad71fc44b299417f3ff (patch) | |
| tree | e1ed527b316eb219b289e5214b93f707880a0ca1 /libexec/fingerd | |
| parent | fa80b16724ce0bd6438d61e3a11855ca361f10d7 (diff) | |
Add __printflike attribution to use vprintf and friends with an argument
as format string.
Diffstat (limited to 'libexec/fingerd')
| -rw-r--r-- | libexec/fingerd/fingerd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/fingerd/fingerd.c b/libexec/fingerd/fingerd.c index 82d9f455ba7..9b7e7c64583 100644 --- a/libexec/fingerd/fingerd.c +++ b/libexec/fingerd/fingerd.c @@ -1,4 +1,4 @@ -/* $NetBSD: fingerd.c,v 1.26 2011/08/27 15:08:58 joerg Exp $ */ +/* $NetBSD: fingerd.c,v 1.27 2012/03/15 02:02:21 joerg Exp $ */ /* * Copyright (c) 1983, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\ #if 0 static char sccsid[] = "from: @(#)fingerd.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: fingerd.c,v 1.26 2011/08/27 15:08:58 joerg Exp $"); +__RCSID("$NetBSD: fingerd.c,v 1.27 2012/03/15 02:02:21 joerg Exp $"); #endif #endif /* not lint */ @@ -58,7 +58,7 @@ __RCSID("$NetBSD: fingerd.c,v 1.26 2011/08/27 15:08:58 joerg Exp $"); #include <string.h> #include "pathnames.h" -__dead static void my_err(const char *, ...); +__dead static void my_err(const char *, ...) __printflike(1, 2); int main(int argc, char *argv[]) |
