coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: id, groups: use conforming diagnostics


From: Jim Meyering
Subject: [PATCH] maint: id, groups: use conforming diagnostics
Date: Sun, 13 Nov 2011 10:48:36 +0100

FYI,

>From 5f47550b163e5c32132a221b0576d0dd697dc640 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 13 Nov 2011 10:46:40 +0100
Subject: [PATCH] maint: id, groups: use conforming diagnostics
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* src/groups.c (main): Don't capitalize the first word of diagnostic.
* src/id.c (main): Likewise.
Reported by Ludovic Court├Ęs.
---
 src/groups.c |    2 +-
 src/id.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/groups.c b/src/groups.c
index 50bafe0..abb7bc7 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 f80fcd1..cfbaa29 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;
     }
--
1.7.8.rc0.61.g8a042



reply via email to

[Prev in Thread] Current Thread [Next in Thread]