samba-fix-mount.cifs.patch 464 B

123456789101112131415161718
  1. --- a/source/client/mount.cifs.c
  2. +++ b/source/client/mount.cifs.c
  3. @@ -138,6 +138,7 @@ static size_t strlcat(char *d, const cha
  4. return ret;
  5. }
  6. #endif
  7. +#endif /* __GLIBC__ && !(__UCLIBC__ && __USE_BSD) */
  8. /* BB finish BB
  9. @@ -178,7 +179,6 @@ static void mount_cifs_usage(void)
  10. SAFE_FREE(mountpassword);
  11. exit(EX_USAGE);
  12. }
  13. -#endif /* __GLIBC__ && !(__UCLIBC__ && __USE_BSD) */
  14. /* caller frees username if necessary */
  15. static char * getusername(void) {