]> err.no Git - systemd/commitdiff
clarify "specified user/group unknown" error
authorMiles Lane <miles.lane@gmail.com>
Sat, 16 Sep 2006 14:35:52 +0000 (16:35 +0200)
committerKay Sievers <kay.sievers@suse.de>
Sat, 16 Sep 2006 14:35:52 +0000 (16:35 +0200)
udev_utils.c

index 87e7979c684dea1e31fd44ece56c773026318ba0..b6e5275a1625db0ca5a05a6ed1580d85e1c637fb 100644 (file)
@@ -172,7 +172,7 @@ uid_t lookup_user(const char *user)
        pw = getpwnam(user);
        if (pw == NULL) {
                if (errno == 0 || errno == ENOENT || errno == ESRCH)
-                       err("specified user unknown '%s'", user);
+                       err("specified user '%s' unknown", user);
                else
                        err("error resolving user '%s': %s", user, strerror(errno));
        } else
@@ -190,7 +190,7 @@ extern gid_t lookup_group(const char *group)
        gr = getgrnam(group);
        if (gr == NULL) {
                if (errno == 0 || errno == ENOENT || errno == ESRCH)
-                       err("specified group unknown '%s'", group);
+                       err("specified group '%s' unknown", group);
                else
                        err("error resolving group '%s': %s", group, strerror(errno));
        } else