summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-11-13 10:46:40 +0100
committerJim Meyering <meyering@redhat.com>2011-11-13 10:46:40 +0100
commit5f47550b163e5c32132a221b0576d0dd697dc640 (patch)
tree342e28c2ce5504c247f192e82ca328494d619bb2 /src
parentac9581d80cfa5be8f738a95b0e74855eb54dd44e (diff)
downloadcoreutils-5f47550b163e5c32132a221b0576d0dd697dc640.tar.xz
maint: id, groups: use conforming diagnostics
* src/groups.c (main): Don't capitalize the first word of diagnostic. * src/id.c (main): Likewise. Reported by Ludovic Courtès.
Diffstat (limited to 'src')
-rw-r--r--src/groups.c2
-rw-r--r--src/id.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/groups.c b/src/groups.c
index 50bafe0f2..abb7bc7c7 100644
--- a/src/groups.c
+++ b/src/groups.c
@@ -112,7 +112,7 @@ main (int argc, char **argv)
{
struct passwd *pwd = getpwnam (argv[optind]);
if (pwd == NULL)
- error (EXIT_FAILURE, 0, _("%s: No such user"), argv[optind]);
+ error (EXIT_FAILURE, 0, _("%s: no such user"), argv[optind]);
ruid = pwd->pw_uid;
rgid = egid = pwd->pw_gid;
diff --git a/src/id.c b/src/id.c
index f80fcd13c..cfbaa296c 100644
--- a/src/id.c
+++ b/src/id.c
@@ -195,7 +195,7 @@ main (int argc, char **argv)
{
struct passwd *pwd = getpwnam (argv[optind]);
if (pwd == NULL)
- error (EXIT_FAILURE, 0, _("%s: No such user"), argv[optind]);
+ error (EXIT_FAILURE, 0, _("%s: no such user"), argv[optind]);
ruid = euid = pwd->pw_uid;
rgid = egid = pwd->pw_gid;
}