summaryrefslogtreecommitdiff
path: root/test/libapt/globalerror_test.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-08-17 11:38:45 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-08-17 11:38:45 +0200
commitec78b277382e27509a6dec91af4a7a524a422e0f (patch)
tree0bf1e6fe47a5082ecfa5f56e8535f67d24b95b0f /test/libapt/globalerror_test.cc
parentd4882aa1e1a37b3092950180036676a930a5792f (diff)
parentd95dbc2ffd4acd5776ae6de300be320ef459325e (diff)
merged from lp:~donkult/apt/sid
Diffstat (limited to 'test/libapt/globalerror_test.cc')
-rw-r--r--test/libapt/globalerror_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libapt/globalerror_test.cc b/test/libapt/globalerror_test.cc
index 7d933f5a8..5d27414f9 100644
--- a/test/libapt/globalerror_test.cc
+++ b/test/libapt/globalerror_test.cc
@@ -101,7 +101,7 @@ int main(int argc,char *argv[])
longText.clear();
for (size_t i = 0; i < 50; ++i)
longText.append("РезийбёбAZ");
- equals(_error->Warning(longText.c_str()), false);
+ equals(_error->Warning("%s", longText.c_str()), false);
equals(_error->PopMessage(text), false);
equals(text, longText);