summaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/tail.c')
-rw-r--r--coreutils/tail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 67396ab..629ee21 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -65,7 +65,8 @@ static ssize_t tail_read(int fd, char *buf, size_t count)
static const char header_fmt[] = "\n==> %s <==\n";
-static unsigned eat_num(const char *p) {
+static unsigned eat_num(const char *p)
+{
if (*p == '-') p++;
else if (*p == '+') { p++; G.status = EXIT_FAILURE; }
return xatou_sfx(p, tail_suffixes);