From 0d281515a6a56919ee6c755e09887abbced2418e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 23 Apr 2009 22:14:11 +0300 Subject: [PATCH] warnings fix: sanitized 'write'alike callback prototype (int retval -> ssize_t) Signed-off-by: Sergei Trofimovich --- vfs/direntry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vfs/direntry.c b/vfs/direntry.c index c93d9b90a..93ceada45 100644 --- a/vfs/direntry.c +++ b/vfs/direntry.c @@ -834,7 +834,7 @@ vfs_s_read (void *fh, char *buffer, int count) return -1; } -static int +static ssize_t vfs_s_write (void *fh, const char *buffer, int count) { int n;