Fix sprintf formatting for new multiarch warning string.

git-svn-id: http://emdebian.org/svn/current@8330 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2012-04-21 13:53:28 +00:00
parent a4bfe47610
commit 171cd43b31
2 changed files with 3 additions and 2 deletions

3
debian/changelog vendored
View file

@ -1,8 +1,9 @@
multistrap (2.1.19) experimental; urgency=low
* Fix multiarch/unstable support for packages listings.
* Fix sprintf formatting for new multiarch warning string.
-- Neil Williams <codehelp@debian.org> Sat, 21 Apr 2012 14:45:49 +0100
-- Neil Williams <codehelp@debian.org> Sat, 21 Apr 2012 14:53:22 +0100
multistrap (2.1.18) experimental; urgency=low

View file

@ -1274,7 +1274,7 @@ sub cascade {
if (not exists $archchk{$req}) {
# Translators: %1 and %2 are the same value here - the erroneous architecture name
my $reqmsg = sprintf (_g("ERR: Misconfiguration in: 'architecture'. option. ".
"Packages of architecture=%1 requested but '%2' is not included in the multiarch=".
"Packages of architecture=%s requested but '%s' is not included in the multiarch=".
join (" ", @foreignarches) . " option.\n"), $req, $req);
warn $reqmsg;
die ("\n");