diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-21 20:35:09 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-21 20:35:09 +0100 |
commit | 38b71290e4140464ac196fbc7a1fcd291729215b (patch) | |
tree | 3f2edeb8c85f16724fd4b14c1aeb4a3b1d2c0b88 /src | |
parent | 7306ae9a02f8e503096502bf8d03c00ced838397 (diff) | |
download | fastd-38b71290e4140464ac196fbc7a1fcd291729215b.tar fastd-38b71290e4140464ac196fbc7a1fcd291729215b.zip |
Print UID and GID as unsigned in log message
Diffstat (limited to 'src')
-rw-r--r-- | src/fastd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c index 8adea3c..f75bc87 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -329,7 +329,7 @@ static void set_user(void) { exit_errno("setreuid"); #endif - pr_info("changed to UID %i, GID %i", (int)conf.uid, (int)conf.gid); + pr_info("changed to UID %u, GID %u", (unsigned)conf.uid, (unsigned)conf.gid); } #endif } |