summaryrefslogtreecommitdiffhomepage
path: root/coreutils
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-04-06 08:06:36 +0000
committerErik Andersen <andersen@codepoet.org>2000-04-06 08:06:36 +0000
commit93d6513d9315fa72d7af4ac2435f8c1e243273cb (patch)
treea7642802cbab4053e62cf13f2daa194c524da2e1 /coreutils
parent7a4b7194864e67f512dac1081f244d3c07a0eca2 (diff)
Some more minor updates to better use some gcc attributes.
-Erik
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/tail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 5e05fe8e7..315eee188 100644
--- a/coreutils/tail.c
+++ b/coreutils/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;