]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
main: improve error message for failed getpwnam()
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 16 Feb 2018 09:33:04 +0000 (10:33 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 16 Feb 2018 10:09:54 +0000 (11:09 +0100)
main.c

diff --git a/main.c b/main.c
index ab1b71ab33de60155b5e5303925f9ad98cb17189..c198ac687affb7c4128dca05a76ed1118a3e011a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -556,7 +556,7 @@ int main
   }
 
   if ((pw = getpwnam(user)) == NULL)
-    LOG_FATAL("Could not get %s uid/gid", user);
+    LOG_FATAL("Could not get user/group ID of %s", user);
 
   /* Create all directories before dropping root */
   CNF_CreateDirs(pw->pw_uid, pw->pw_gid);