1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

Fixed a glibc glitch in smbumount.c and reenabled some debugging

in smbmount.c
(This used to be commit 4b4a706213032ad49a0653e80721bac5f6284f90)
This commit is contained in:
Michael Warfield 1999-02-13 18:36:49 +00:00
parent b8082d0840
commit cbbac5455c
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ static struct smb_conn_opt conn_options;
#endif
/* Uncomment this to allow debug the smbmount daemon */
/* #define SMBFS_DEBUG 1 */
#define SMBFS_DEBUG 1
pstring cur_dir = "\\";
pstring cd_path = "";

View File

@ -35,7 +35,7 @@ static int
umount_ok(const char *mount_point)
{
int fid = open(mount_point, O_RDONLY, 0);
uid_t mount_uid;
__kernel_uid_t mount_uid;
if (fid == -1) {
fprintf(stderr, "Could not open %s: %s\n",