Replace printf by puts for fixed strings. This would avoid issues caused

by formats introduced in translated strings.
This commit is contained in:
nekral-guest
2008-01-24 19:38:06 +00:00
parent 1b246725c5
commit 01f9705dd5
5 changed files with 15 additions and 14 deletions

View File

@ -416,7 +416,7 @@ static void check_grp_file (int *errors, int *changed)
* Tell the user this entire line is bogus and ask
* them to delete it.
*/
printf (_("invalid group file entry\n"));
puts (_("invalid group file entry\n"));
printf (_("delete line '%s'? "), gre->line);
*errors += 1;
@ -476,7 +476,7 @@ static void check_grp_file (int *errors, int *changed)
* Tell the user this entry is a duplicate of
* another and ask them to delete it.
*/
printf (_("duplicate group entry\n"));
puts (_("duplicate group entry\n"));
printf (_("delete line '%s'? "), gre->line);
*errors += 1;
@ -604,7 +604,7 @@ static void check_sgr_file (int *errors, int *changed)
* Tell the user this entire line is bogus and ask
* them to delete it.
*/
printf (_("invalid shadow group file entry\n"));
puts (_("invalid shadow group file entry\n"));
printf (_("delete line '%s'? "), sge->line);
*errors += 1;
@ -664,7 +664,7 @@ static void check_sgr_file (int *errors, int *changed)
* Tell the user this entry is a duplicate of
* another and ask them to delete it.
*/
printf (_("duplicate shadow group entry\n"));
puts (_("duplicate shadow group entry\n"));
printf (_("delete line '%s'? "), sge->line);
*errors += 1;