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 20:42:12 +00:00
parent 96f7a7588f
commit 3dd5866244
17 changed files with 73 additions and 79 deletions

View File

@@ -50,9 +50,9 @@ static void usage (void);
static void usage (void)
{
#ifdef HAVE_GETGROUPS
fprintf (stderr, _("Usage: id [-a]\n"));
fputs (_("Usage: id [-a]\n"), stderr);
#else
fprintf (stderr, _("Usage: id\n"));
fputs (_("Usage: id\n"), stderr);
#endif
exit (1);
}
@@ -164,7 +164,7 @@ static void usage (void)
* where "###" is a numerical value and "aaa" is the
* corresponding name for each respective numerical value.
*/
printf (_(" groups="));
puts (_(" groups="));
for (i = 0; i < ngroups; i++) {
if (i)
putchar (',');