libsmbclient examples: fix prototype for readlink
authorMichael Adam <obnox@samba.org>
Thu, 21 Aug 2008 08:41:11 +0000 (10:41 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 21 Aug 2008 10:16:04 +0000 (12:16 +0200)
Michael
(This used to be commit 28688cfd57c322937f2c63087380c377bd961018)

examples/libsmbclient/smbwrapper/wrapper.c

index 958e00636ea5428f455166e601ba3abe06c0f59e..3811b043566454e7678cf36f8e423ee5994e4e90 100644 (file)
@@ -1109,7 +1109,7 @@ int utimes(const char *name, const struct timeval *tvp)
         return (* smbw_libc.utimes)((char *) name, (struct timeval *) tvp);
 }
 
-int readlink(const char *path, char *buf, size_t bufsize)
+ssize_t readlink(const char *path, char *buf, size_t bufsize)
 {
         check_init("readlink");