buildrootschalter/package/samba/samba-fix-mount.cifs.patch
Sven Neumann a657cf77ea samba: bump version
Closes #293.

[peter: bump to 3.3.4]

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 21:01:25 +02:00

19 lines
464 B
Diff

--- a/source/client/mount.cifs.c
+++ b/source/client/mount.cifs.c
@@ -138,6 +138,7 @@ static size_t strlcat(char *d, const cha
return ret;
}
#endif
+#endif /* __GLIBC__ && !(__UCLIBC__ && __USE_BSD) */
/* BB finish BB
@@ -178,7 +179,6 @@ static void mount_cifs_usage(void)
SAFE_FREE(mountpassword);
exit(EX_USAGE);
}
-#endif /* __GLIBC__ && !(__UCLIBC__ && __USE_BSD) */
/* caller frees username if necessary */
static char * getusername(void) {