summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2008-01-02 18:07:17 +0000
committerUlrich Drepper <[email protected]>2008-01-02 18:07:17 +0000
commitf231e276bda6395770ebb2fc2d1469def46c2707 (patch)
tree80df1d74d29713b590ae675d5ed4631ee205b851 /tests
parent3cbdd387c752999255aea91600b5cfdefbeac7d0 (diff)
Cleanup after .disasm branch merge.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/line2addr.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 2c7ed914..c2a3d48a 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,5 +1,9 @@
2008-01-01 Ulrich Drepper <[email protected]>
+ * line2addr.c: Use %m modifier instead of %a to appease gcc.
+
+2008-01-01 Ulrich Drepper <[email protected]>
+
* testfile44.expect.bz2: New tests.
* testfile44.expect.bz2: Adjust.
diff --git a/tests/line2addr.c b/tests/line2addr.c
index 1180062c..5630da3c 100644
--- a/tests/line2addr.c
+++ b/tests/line2addr.c
@@ -132,7 +132,7 @@ main (int argc, char *argv[])
{
struct args a = { .arg = argv[cnt] };
- switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line))
+ switch (sscanf (a.arg, "%m[^:]:%d", &a.file, &a.line))
{
default:
case 0: