summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-cdrom.cc4
1 files changed, 2 insertions, 2 deletions
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;