summaryrefslogtreecommitdiff
path: root/source3/smbd/quotas.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-04-10 15:41:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:16 -0500
commit1790c67780af0bcc4bc1df3f015fa6fcb7e55f95 (patch)
tree6546a9f8c107922e7c8e551613a60650e83f5d48 /source3/smbd/quotas.c
parentd6d35eab6e702c1a132eafb4c334ee4bad8e4f4f (diff)
downloadsamba-1790c67780af0bcc4bc1df3f015fa6fcb7e55f95.tar.gz
samba-1790c67780af0bcc4bc1df3f015fa6fcb7e55f95.tar.bz2
samba-1790c67780af0bcc4bc1df3f015fa6fcb7e55f95.zip
r22149: BUG 4500: patch from Jorge Santos <jorge_a_santos@hotmail.com>
to fix compile bug ni quotas.c (typo calling unbecome_root()). (This used to be commit 22d550d62b5834e2c5155550756d3462a1bd6561)
Diffstat (limited to 'source3/smbd/quotas.c')
-rw-r--r--source3/smbd/quotas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c
index ddfcb8e0f8..feb28e2c74 100644
--- a/source3/smbd/quotas.c
+++ b/source3/smbd/quotas.c
@@ -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;
}