From 171cd43b31fe30bc91ea75fd9ed3e0bc43896ccd Mon Sep 17 00:00:00 2001 From: codehelp Date: Sat, 21 Apr 2012 13:53:28 +0000 Subject: [PATCH] Fix sprintf formatting for new multiarch warning string. git-svn-id: http://emdebian.org/svn/current@8330 563faec7-e20c-0410-992a-a66f704d0ccd --- debian/changelog | 3 ++- multistrap | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index fcfb8d0..0366b55 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Sat, 21 Apr 2012 14:45:49 +0100 + -- Neil Williams Sat, 21 Apr 2012 14:53:22 +0100 multistrap (2.1.18) experimental; urgency=low diff --git a/multistrap b/multistrap index 0fb6c4f..41f259f 100755 --- a/multistrap +++ b/multistrap @@ -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");