summaryrefslogtreecommitdiff
path: root/sethdlc.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-08-27 16:13:25 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-08-27 16:13:25 +0000
commit33073e51a940248817fc33948d84e5492902a473 (patch)
tree4305ccfaa1ac66f96ec059228802047196964b78 /sethdlc.c
parent99463754103be48aedfa9bcc83a57a62729cfc17 (diff)
add --enable-dev-mode support, and fix up a couple of warnings found using it (only two, surprisingly)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4845 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'sethdlc.c')
-rw-r--r--sethdlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sethdlc.c b/sethdlc.c
index 6b2f0d5..cc0517c 100644
--- a/sethdlc.c
+++ b/sethdlc.c
@@ -50,7 +50,7 @@ static char **argv;
int sock;
-static void error(const char *format, ...) __attribute__ ((noreturn));
+static void error(const char *format, ...) __attribute__ ((noreturn, format(printf, 1, 2)));
static void error(const char *format, ...)
{