summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/client/smbmount.c2
-rw-r--r--source3/client/smbumount.c2
2 files changed, 2 insertions, 2 deletions
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",