summaryrefslogtreecommitdiffstats
path: root/libexec/pppoed
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-02-04 01:34:52 +0000
committerkris <kris@FreeBSD.org>2002-02-04 01:34:52 +0000
commit435834a74d433d820a30a2cbe881a42775ac2119 (patch)
treebd480a41ba08ab0c9822535d3ddde5df032ebbdf /libexec/pppoed
parent9c4676241d5feacfe4a7e69835ac1487521e5cf2 (diff)
downloadFreeBSD-src-435834a74d433d820a30a2cbe881a42775ac2119.zip
FreeBSD-src-435834a74d433d820a30a2cbe881a42775ac2119.tar.gz
Prototype a function as __printflike() to avoid a FORMAT_AUDIT warning.
MFC after: 1 week
Diffstat (limited to 'libexec/pppoed')
-rw-r--r--libexec/pppoed/pppoed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/pppoed/pppoed.c b/libexec/pppoed/pppoed.c
index 1dfdb3f..386f1b5 100644
--- a/libexec/pppoed/pppoed.c
+++ b/libexec/pppoed/pppoed.c
@@ -64,6 +64,8 @@
#define DEFAULT_EXEC_PREFIX "exec /usr/sbin/ppp -direct "
#define HISMACADDR "HISMACADDR"
+static void nglogx(const char *, ...) __printflike(1, 2);
+
static int ReceivedSignal;
static int
OpenPOWER on IntegriCloud