summaryrefslogtreecommitdiff
path: root/source3/smbd/uid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/uid.c')
-rw-r--r--source3/smbd/uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 42ade7e4da..28bf4b421a 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -505,8 +505,8 @@ void become_root(BOOL save_dir)
current_user_saved = current_user;
become_root_depth = 1;
- become_gid(0);
become_uid(0);
+ become_gid(0);
}
/****************************************************************************