* src/groupmems.c: Harmonize the unlock failure messages.

This commit is contained in:
nekral-guest 2008-08-09 23:33:46 +00:00
parent b6cc69cd8f
commit 5d1795062f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-08-09 Nicolas François <nicolas.francois@centraliens.net>
* src/groupmems.c: Harmonize the unlock failure messages.
2008-08-07 Nicolas François <nicolas.francois@centraliens.net>
* src/pwck.c: Added fail_exit().

View File

@ -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 */
}