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