Avoid an error when printing a string containing a '%' character.
authordrepper <drepper>
Thu, 2 Nov 2000 03:09:24 +0000 (03:09 +0000)
committerdrepper <drepper>
Thu, 2 Nov 2000 03:09:24 +0000 (03:09 +0000)
locale/gen-translit.pl

index b6fba77..d44310b 100644 (file)
@@ -134,7 +134,7 @@ for ($cnt = 0; $cnt <= $#tos; ++$cnt) {
     printf(" ");
     ++$col;
   }
-  printf("L\"$tos[$cnt]\\0\"");
+  printf("%s", "L\"$tos[$cnt]\\0\"");
   $col += length($tos[$cnt]) + 5;
 }
 printf(";\n");