From ecb338ad8e431775b4a757efc5dd198c4690f2cc Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 11 May 2004 14:12:39 +0000 Subject: [PATCH] (safer_name_suffix): (safer_name_suffix): Use "%s" as the format argument, rather than a possibly-translated variable string. Patch provided by Jim Meyering --- src/names.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/names.c b/src/names.c index dcad3d7..e9b689c 100644 --- a/src/names.c +++ b/src/names.c @@ -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 = "."; -- 2.45.2