From bce6f6871f481087890674497b4b2154dc4825fc Mon Sep 17 00:00:00 2001 From: neilbrown Date: Thu, 17 Jul 2003 23:41:19 +0000 Subject: Release 1.0.5 --- support/nfs/cacheio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/nfs/cacheio.c') diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c index 77facb1..ff5b028 100644 --- a/support/nfs/cacheio.c +++ b/support/nfs/cacheio.c @@ -260,7 +260,7 @@ cache_flush(int force) int fd; sprintf(path, "/proc/net/rpc/%s/flush", cachelist[c]); fd = open(path, O_RDWR); - if (fd) { + if (fd >= 0) { write(fd, stime, strlen(stime)); close(fd); } -- cgit