From b356ec8affa09366306c3d93fecc87d3fe1d2f9c Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 4 Jan 2007 14:45:14 +0100 Subject: inotail.c: Make it clear that we're handling one file when tailing stdin --- inotail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inotail.c') diff --git a/inotail.c b/inotail.c index 3f08360..26092d3 100644 --- a/inotail.c +++ b/inotail.c @@ -440,7 +440,7 @@ int main(int argc, char **argv) } else { /* It must be stdin then */ static char *dummy_stdin = "-"; - n_files++; + n_files = 1; filenames = &dummy_stdin; /* POSIX says that -f is ignored if no file operand is -- cgit v1.2.3-54-g00ecf