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