From: Gerald Carter Date: Tue, 10 Apr 2007 15:41:23 +0000 (+0000) Subject: r22149: BUG 4500: patch from Jorge Santos X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~739 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22d550d62b5834e2c5155550756d3462a1bd6561;p=thirdparty%2Fsamba.git r22149: BUG 4500: patch from Jorge Santos to fix compile bug ni quotas.c (typo calling unbecome_root()). --- diff --git a/source/smbd/quotas.c b/source/smbd/quotas.c index ddfcb8e0f86..feb28e2c743 100644 --- a/source/smbd/quotas.c +++ b/source/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; }