diff options
author | Miles Lane <miles.lane@gmail.com> | 2006-09-16 16:35:52 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-09-16 16:35:52 +0200 |
commit | fe0c4102add2b362e1e21ac591dc679ac18b2fce (patch) | |
tree | b3c49d7d5915f18b1b12426a30776818588d9783 | |
parent | 4ca254b382d7ddebaef6ad62dbd5ead0babbf7ad (diff) |
clarify "specified user/group unknown" error
-rw-r--r-- | udev_utils.c | 4 |
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 |