summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-01-28 17:39:37 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-01-28 17:39:37 +0100
commit236527f0fffe30fc8988e17d926778c23ac1f902 (patch)
treebf4f98bbb862e845e9b9ba9066c9f337c0aabc0d /methods
parent28dbfcdc3a00a5ad20cf0a0b17cea3c842aaf983 (diff)
LP: #263089
Diffstat (limited to 'methods')
-rw-r--r--methods/gpgv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/gpgv.cc b/methods/gpgv.cc
index 9f4683e6e..f3277b300 100644
--- a/methods/gpgv.cc
+++ b/methods/gpgv.cc
@@ -264,7 +264,7 @@ bool GPGVMethod::Fetch(FetchItem *Itm)
// least one bad signature. good signatures and NoPubKey signatures
// happen easily when a file is signed with multiple signatures
if(GoodSigners.empty() or !BadSigners.empty())
- return _error->Error(errmsg.c_str());
+ return _error->Error("%s", errmsg.c_str());
}
// Just pass the raw output up, because passing it as a real data