aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-16 22:32:04 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-16 22:32:04 +0000
commit318604b951e5f74ff9889274d82f908ac5818fac (patch)
treef1354d1d4e3ca29b1fd77698d45791e61fd7a8b1 /coreutils/tail.c
parent00f949b5504f0d5c5dc3bb02da393481980631eb (diff)
downloadbusybox-w32-318604b951e5f74ff9889274d82f908ac5818fac.tar.gz
busybox-w32-318604b951e5f74ff9889274d82f908ac5818fac.tar.bz2
busybox-w32-318604b951e5f74ff9889274d82f908ac5818fac.zip
style fixes, no code changes
git-svn-id: svn://busybox.net/trunk/busybox@18461 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 67396ab1c..629ee2125 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)
65 65
66static const char header_fmt[] = "\n==> %s <==\n"; 66static const char header_fmt[] = "\n==> %s <==\n";
67 67
68static unsigned eat_num(const char *p) { 68static unsigned eat_num(const char *p)
69{
69 if (*p == '-') p++; 70 if (*p == '-') p++;
70 else if (*p == '+') { p++; G.status = EXIT_FAILURE; } 71 else if (*p == '+') { p++; G.status = EXIT_FAILURE; }
71 return xatou_sfx(p, tail_suffixes); 72 return xatou_sfx(p, tail_suffixes);