]> Dogcows Code - chaz/tar/commitdiff
(safer_name_suffix): (safer_name_suffix): Use "%s"
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 11 May 2004 14:12:39 +0000 (14:12 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 11 May 2004 14:12:39 +0000 (14:12 +0000)
as the format argument, rather than a possibly-translated variable
string. Patch provided by Jim Meyering  <jim@meyering.net>

src/names.c

index dcad3d76b709f228055a789353d3793b76abbd26..e9b689ce60e87be22b3e04bbcb179faa7624fac7 100644 (file)
@@ -1053,7 +1053,7 @@ safer_name_suffix (char const *file_name, bool link_target)
                N_("Removing leading `%s' from member names"),
                N_("Removing leading `%s' from hard link targets")
              };
-             WARN ((0, 0, _(diagnostic[link_target]), prefix));
+             WARN ((0, 0, "%s", _(diagnostic[link_target]), prefix));
            }
        }
     }
@@ -1067,7 +1067,7 @@ safer_name_suffix (char const *file_name, bool link_target)
            N_("Substituting `.' for empty member name"),
            N_("Substituting `.' for empty hard link target")
          };
-         WARN ((0, 0, _(diagnostic[link_target])));
+         WARN ((0, 0, "%s", _(diagnostic[link_target])));
        }
 
       p = ".";
This page took 0.027964 seconds and 4 git commands to generate.