X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/0abed86eb392990a5a4995fcf7ca70601d40efd1..4ff028826ef0fa500b7717415be4109c2ac1da1d:/cmdline/apt-cdrom.cc diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc index 3f53e16ee..c153cca85 100644 --- a/cmdline/apt-cdrom.cc +++ b/cmdline/apt-cdrom.cc @@ -162,7 +162,7 @@ bool DoAdd(CommandLine &) if (count == 0) { res = cdrom.Add(&log); if (res == false) { - _error->Error(_(W_NO_CDROM_FOUND)); + _error->Error("%s", _(W_NO_CDROM_FOUND)); } } @@ -192,7 +192,7 @@ bool DoIdent(CommandLine &) if (count == 0) { res = cdrom.Ident(ident, &log); if (res == false) { - _error->Error(_(W_NO_CDROM_FOUND)); + _error->Error("%s", _(W_NO_CDROM_FOUND)); } } return res;