summaryrefslogtreecommitdiff
path: root/source3/smbd/sec_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/sec_ctx.c')
-rw-r--r--source3/smbd/sec_ctx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/sec_ctx.c b/source3/smbd/sec_ctx.c
index 6837a8d4f8..1f20ef062e 100644
--- a/source3/smbd/sec_ctx.c
+++ b/source3/smbd/sec_ctx.c
@@ -62,9 +62,7 @@ static BOOL become_uid(uid_t uid)
set_effective_uid(uid);
current_user.uid = uid;
-#ifdef WITH_PROFILE
- profile_p->uid_changes++;
-#endif
+ DO_PROFILE_INC(uid_changes)
return True;
}