SGITranslator: fix too few arguments to formatting function

Pointed out by LGTM

Change-Id: I0f83a3ba92d941c6e8acba02c77afce3cb40f56f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4627
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Murai Takashi
2021-10-20 18:03:50 +00:00
committed by waddlesplash
parent f4742397e0
commit c224d63cac
@@ -158,7 +158,7 @@ make_nth_translator(int32 n, image_id you, uint32 flags, ...)
// ---------------------------------------------------------------
SGITranslator::SGITranslator()
:
BaseTranslator(B_TRANSLATE("SGI images"),
BaseTranslator(B_TRANSLATE("SGI images"),
B_TRANSLATE("SGI image translator"),
SGI_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats,
@@ -421,7 +421,7 @@ SGITranslator::translate_from_bits(BPositionIO *inSource, uint32 outType,
ret = sgiImage->WriteRow(rows[z], y, z);
if (ret < B_OK) {
syslog(LOG_ERR,
"WriteRow() returned %s!\n"), strerror(ret);
"WriteRow() returned %s!\n", strerror(ret));
break;
}
}
@@ -507,7 +507,7 @@ SGITranslator::translate_from_sgi(BPositionIO *inSource, uint32 outType,
sizeof(TranslatorBitmap), B_SWAP_HOST_TO_BENDIAN)) < B_OK) {
return ret;
} else
ret = outDestination->Write(&bitsHeader,
ret = outDestination->Write(&bitsHeader,
sizeof(TranslatorBitmap));
}
if (ret < B_OK)
@@ -748,6 +748,6 @@ SGITranslator::DerivedTranslate(BPositionIO *inSource,
BView *
SGITranslator::NewConfigView(TranslatorSettings *settings)
{
return new SGIView(B_TRANSLATE("SGITranslator Settings"), B_WILL_DRAW,
return new SGIView(B_TRANSLATE("SGITranslator Settings"), B_WILL_DRAW,
settings);
}