HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0abed86
)
fix format string error
author
Michael Vogt
<mvo@debian.org>
Tue, 2 Jul 2013 06:45:03 +0000
(08:45 +0200)
committer
Michael Vogt
<mvo@debian.org>
Tue, 2 Jul 2013 06:45:03 +0000
(08:45 +0200)
cmdline/apt-cdrom.cc
patch
|
blob
|
blame
|
history
diff --git
a/cmdline/apt-cdrom.cc
b/cmdline/apt-cdrom.cc
index
3f53e16
..
c153cca
100644
(file)
--- 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;