summaryrefslogtreecommitdiff
path: root/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'tail.c')
-rw-r--r--tail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tail.c b/tail.c
index 5e05fe8..315eee1 100644
--- a/tail.c
+++ b/tail.c
@@ -445,6 +445,8 @@ extern int tail_main(int argc, char **argv)
static void detailed_error(int i, int errnum, char *fmt, ...)
+ __attribute__ ((format (printf, 3, 4)));
+static void detailed_error(int i, int errnum, char *fmt, ...)
{
va_list arguments;