summaryrefslogtreecommitdiff
path: root/test/libapt/globalerror_test.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-08-17 11:27:50 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-08-17 11:27:50 +0200
commit01380ef62a453e44613dba87086177162a52c5fa (patch)
tree4b69db9e0e7081f338be79ac807bc07eed633dd8 /test/libapt/globalerror_test.cc
parentbb3e64527b0c1ccf3f31a5a56c21819e25f128ae (diff)
parentd95dbc2ffd4acd5776ae6de300be320ef459325e (diff)
merged 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);