fix some warning messages.

git-svn-id: http://emdebian.org/svn/current@7952 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2011-03-27 13:18:39 +00:00
parent 665204943b
commit 2f9e921109

View file

@ -367,7 +367,7 @@ if ((defined $setupsh) and (-x $setupsh)) {
$retval = 0;
$retval = system ("$setupsh $dir $arch");
if ($retval != 0) {
warn (_g("setupscript '%s' returned %d.\n"), $setupsh, $retval/256);
warn sprintf(_g("setupscript '%s' returned %d.\n"), $setupsh, $retval/256);
$warn_count++;
}
}
@ -440,7 +440,7 @@ if (defined $tgzname) {
if (not defined $warn_count) {
printf (_g("\nMultistrap system packaged successfully as '%s'.\n"), $final_path);
} else {
warn (_g("\nMultistrap system packaged as '%s' with warnings.\n"), $final_path);
warn sprintf(_g("\nMultistrap system packaged as '%s' with warnings.\n"), $final_path);
}
}
print "\n";