summaryrefslogtreecommitdiff
path: root/examples/libsmbclient
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-08-21 10:41:11 +0200
committerMichael Adam <obnox@samba.org>2008-08-21 12:16:04 +0200
commitf1a45e3b6b2b9f3ebeec7163fbedc027702eb1a2 (patch)
tree3f45d0c2bf8120baa21bf7b2dbaf66d114924cac /examples/libsmbclient
parent79150da70bbfddea3dc4013212fc7314b1004534 (diff)
downloadsamba-f1a45e3b6b2b9f3ebeec7163fbedc027702eb1a2.tar.gz
libsmbclient examples: fix prototype for readlink
Michael (This used to be commit 28688cfd57c322937f2c63087380c377bd961018)
Diffstat (limited to 'examples/libsmbclient')
-rw-r--r--examples/libsmbclient/smbwrapper/wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/libsmbclient/smbwrapper/wrapper.c b/examples/libsmbclient/smbwrapper/wrapper.c
index 958e00636ea..3811b043566 100644
--- a/examples/libsmbclient/smbwrapper/wrapper.c
+++ b/examples/libsmbclient/smbwrapper/wrapper.c
@@ -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");