summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-06-11 19:31:27 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-06-11 19:31:27 +0200
commit484f17b6bd0ba570714aa55c67fffa9ae31ae58f (patch)
treea45126b6213c37595e1d53dd96379dd9d4e184ac /inotail.c
parentb46b85361b47506fd097b2067d9cca1d2cfd6560 (diff)
parent5015c1eb9a07b2f8351249eac62ab1fe55f03395 (diff)
Merge branch 'master' into pipe
Conflicts: inotail.c
Diffstat (limited to 'inotail.c')
-rw-r--r--inotail.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/inotail.c b/inotail.c
index 58c37de..2144d6a 100644
--- a/inotail.c
+++ b/inotail.c
@@ -30,7 +30,6 @@
#include <fcntl.h>
#include <errno.h>
#include <getopt.h>
-#include <ctype.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -580,7 +579,7 @@ int main(int argc, char **argv)
} else if (*optarg == '-')
optarg++;
- if (!isdigit(*optarg)) {
+ if (!is_digit(*optarg)) {
fprintf(stderr, "Invalid number of lines: %s\n", optarg);
exit(EXIT_FAILURE);
}