summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-01-15 21:37:59 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-01-15 21:37:59 +0100
commitf67d77663f9aa86baab6283c6ee96b6aee08b979 (patch)
tree1157484f1c508f35b483417f8fcbd67a7eec5959
parenta0ed9ab63519cc6320c1a8066c2a0037af3b943d (diff)
inotail.c: One more ssize_t
-rw-r--r--inotail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inotail.c b/inotail.c
index e6f8f08..81864b5 100644
--- a/inotail.c
+++ b/inotail.c
@@ -363,7 +363,7 @@ static int watch_files(struct file_struct *files, int n_files)
memset(buf, 0, buflen);
while (n_ignored < n_files) {
- int len;
+ ssize_t len;
len = read(ifd, buf, buflen);
inev = (struct inotify_event *) buf;