From 8504caa7284ddf98de53fea4cccdb8ce57627ae4 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 8 Dec 2006 21:08:10 +0100 Subject: inotail.c: Yet another user for IS_PIPELIKE --- inotail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inotail.c') diff --git a/inotail.c b/inotail.c index f16b23b..01df96b 100644 --- a/inotail.c +++ b/inotail.c @@ -245,7 +245,7 @@ static int tail_file(struct file_struct *f, unsigned int n_units, char mode) } /* We cannot seek on these */ - if (S_ISFIFO(finfo.st_mode) || S_ISSOCK(finfo.st_mode) || f->fd == STDIN_FILENO) + if (IS_PIPELIKE(finfo.st_mode) || f->fd == STDIN_FILENO) return tail_pipe(f); f->st_size = finfo.st_size; -- cgit v1.2.3-54-g00ecf