r22149: BUG 4500: patch from Jorge Santos <jorge_a_santos@hotmail.com>
authorGerald Carter <jerry@samba.org>
Tue, 10 Apr 2007 15:41:23 +0000 (15:41 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:16 +0000 (12:19 -0500)
to fix compile bug ni quotas.c (typo calling unbecome_root()).
(This used to be commit 22d550d62b5834e2c5155550756d3462a1bd6561)

source3/smbd/quotas.c

index ddfcb8e0f86b5dbb907aa6f52740ae6453e94849..feb28e2c7435a549e8573c780d1419bae9480d3b 100644 (file)
@@ -662,7 +662,7 @@ BOOL disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB
                BOOL retval;
                DEBUG(5,("disk_quotas: looking for mountpath (NFS) \"%s\"\n", mnt.mnt_special));
                retval = nfs_quotas(mnt.mnt_special, euser_id, bsize, dfree, dsize);
-               unbecome();
+               unbecome_root();
                return retval;
        }