From 38b71290e4140464ac196fbc7a1fcd291729215b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 21 Feb 2016 20:35:09 +0100 Subject: Print UID and GID as unsigned in log message --- src/fastd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3