From: nekral-guest Date: Sat, 9 Aug 2008 23:33:46 +0000 (+0000) Subject: * src/groupmems.c: Harmonize the unlock failure messages. X-Git-Tag: 4.1.3~273 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d1795062fd3412e040181e43decea9f178c34aa;p=shadow * src/groupmems.c: Harmonize the unlock failure messages. --- diff --git a/ChangeLog b/ChangeLog index 26059b27..d0583752 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-08-09 Nicolas François + + * src/groupmems.c: Harmonize the unlock failure messages. + 2008-08-07 Nicolas François * src/pwck.c: Added fail_exit(). diff --git a/src/groupmems.c b/src/groupmems.c index fd735d5f..d3aa0da4 100644 --- a/src/groupmems.c +++ b/src/groupmems.c @@ -208,7 +208,7 @@ static void fail_exit (int code) if (group_locked) { if (gr_unlock () == 0) { fprintf (stderr, - _("%s: cannot unlock %s\n"), + _("%s: failed to unlock %s\n"), Prog, gr_dbname ()); SYSLOG ((LOG_ERR, "failed to unlock %s", gr_dbname ())); /* continue */ @@ -305,7 +305,7 @@ int main (int argc, char **argv) fail_exit (EXIT_GROUP_FILE); } if (gr_unlock () == 0) { - fprintf (stderr, _("%s: cannot unlock %s\n"), Prog, gr_dbname ()); + fprintf (stderr, _("%s: failed to unlock %s\n"), Prog, gr_dbname ()); SYSLOG ((LOG_ERR, "failed to unlock %s", gr_dbname ())); /* continue */ }