From cbbac5455c5c4475b4e3a1448f819ee828793632 Mon Sep 17 00:00:00 2001 From: Michael Warfield Date: Sat, 13 Feb 1999 18:36:49 +0000 Subject: Fixed a glibc glitch in smbumount.c and reenabled some debugging in smbmount.c (This used to be commit 4b4a706213032ad49a0653e80721bac5f6284f90) --- source3/client/smbmount.c | 2 +- source3/client/smbumount.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/client') diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index 00331f3681..fd82c1bc41 100644 --- a/source3/client/smbmount.c +++ b/source3/client/smbmount.c @@ -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 = ""; diff --git a/source3/client/smbumount.c b/source3/client/smbumount.c index 84188542e5..bc8999d765 100644 --- a/source3/client/smbumount.c +++ b/source3/client/smbumount.c @@ -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", -- cgit