Replace printf by puts for fixed strings. This would avoid issues caused
by formats introduced in translated strings.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user