summaryrefslogtreecommitdiff
path: root/udev_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_utils.c')
-rw-r--r--udev_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_utils.c b/udev_utils.c
index 87e7979c68..b6e5275a16 100644
--- a/udev_utils.c
+++ b/udev_utils.c
@@ -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