summaryrefslogtreecommitdiff
path: root/sethdlc.c
diff options
context:
space:
mode:
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, ...)
{