diff options
author | Andreas Schneider <asn@samba.org> | 2015-10-30 13:36:04 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-11-05 09:23:15 +0100 |
commit | 8922654f840c09a2f33a722048a8f3f326da3a4c (patch) | |
tree | 69c826150cda07652189bdb5f9bbe4d1d7afcfa7 | |
parent | e821e4596a9798bb06573fcb277bbc8b8b80631f (diff) | |
download | samba-8922654f840c09a2f33a722048a8f3f326da3a4c.tar.gz |
uwrap: Fix debug line in uwrap_init()
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | lib/uid_wrapper/uid_wrapper.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/uid_wrapper/uid_wrapper.c b/lib/uid_wrapper/uid_wrapper.c index 2961b879e77..96035b06afb 100644 --- a/lib/uid_wrapper/uid_wrapper.c +++ b/lib/uid_wrapper/uid_wrapper.c @@ -952,8 +952,9 @@ static void uwrap_init(void) id->enabled = true; UWRAP_LOG(UWRAP_LOG_DEBUG, - "Enabled uid_wrapper as %s", - uwrap.myuid == 0 ? "root" : "user"); + "Enabled uid_wrapper as %s (real uid=%u)", + id->ruid == 0 ? "root" : "user", + (unsigned int)uwrap.myuid); } UWRAP_UNLOCK(uwrap_id); |