summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Warfield <mhw@samba.org>1999-02-13 18:36:49 +0000
committerMichael Warfield <mhw@samba.org>1999-02-13 18:36:49 +0000
commitcbbac5455c5c4475b4e3a1448f819ee828793632 (patch)
tree5f61c685d73c4db6199155826f8c2f3bffcb94a0 /source3
parentb8082d0840f97aa9b48de3f30dbc1225786467ce (diff)
downloadsamba-cbbac5455c5c4475b4e3a1448f819ee828793632.tar.gz
samba-cbbac5455c5c4475b4e3a1448f819ee828793632.tar.bz2
samba-cbbac5455c5c4475b4e3a1448f819ee828793632.zip
Fixed a glibc glitch in smbumount.c and reenabled some debugging
in smbmount.c (This used to be commit 4b4a706213032ad49a0653e80721bac5f6284f90)
Diffstat (limited to 'source3')
-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",