summaryrefslogtreecommitdiff
path: root/lisp/re/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/re/tests.c')
-rw-r--r--lisp/re/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/re/tests.c b/lisp/re/tests.c
index 6a82d41..21b1e10 100644
--- a/lisp/re/tests.c
+++ b/lisp/re/tests.c
@@ -164,7 +164,7 @@ main(int argc, char *argv[])
else {
if (failed) {
reerror(failed, &cod, buf, sizeof(buf));
- fprintf(stderr, "%s, at line %d\n", line);
+ fprintf(stderr, "%s, at line %d\n", buf, line);
break;
}
if (sscanf(buf, "%ld,%ld:", &so, &eo) != 2) {