diff options
author | Steve Dickson <steved@redhat.com> | 2010-07-19 12:31:48 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-08-09 09:57:02 -0400 |
commit | 1ca569633e14c844e32d8e5e3a1c54be01a8b633 (patch) | |
tree | d42971b41b45e389cd6e04223cb6f52638ac4d15 /support | |
parent | 0cdfd35cecc17eb1927f15d33205e43ec66675f2 (diff) | |
download | nfs-utils-1ca569633e14c844e32d8e5e3a1c54be01a8b633.tar.gz nfs-utils-1ca569633e14c844e32d8e5e3a1c54be01a8b633.tar.xz nfs-utils-1ca569633e14c844e32d8e5e3a1c54be01a8b633.zip |
emove warnings from cacheio.c
cacheio.c: In function 'cache_flush':
cacheio.c:352: warning: comparison between signed and unsigned integer expressions
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support')
-rw-r--r-- | support/nfs/cacheio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c index 55fa45d..9bad8e6 100644 --- a/support/nfs/cacheio.c +++ b/support/nfs/cacheio.c @@ -349,7 +349,7 @@ cache_flush(int force) sprintf(path, "/proc/net/rpc/%s/flush", cachelist[c]); fd = open(path, O_RDWR); if (fd >= 0) { - if (write(fd, stime, strlen(stime)) != strlen(stime)) { + if (write(fd, stime, strlen(stime)) != (ssize_t)strlen(stime)) { xlog_warn("Writing to '%s' failed: errno %d (%s)", path, errno, strerror(errno)); } |