aboutsummaryrefslogtreecommitdiffstats
path: root/xtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'xtest.c')
-rw-r--r--xtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtest.c b/xtest.c
index cbf3015..5529eb9 100644
--- a/xtest.c
+++ b/xtest.c
@@ -142,13 +142,13 @@ main(int argc, char *argv[])
test(line);
}
if (ferror(stdin)) {
- fprintf(stderr, "%s: <stdin>: %s\n", strerror(errno));
+ fprintf(stderr, "%s: <stdin>: %s\n", argv0, strerror(errno));
return 1;
}
}
if (ferror(stdout)) {
- fprintf(stderr, "%s: <stdout>: %s\n", strerror(errno));
+ fprintf(stderr, "%s: <stdout>: %s\n", argv0, strerror(errno));
return 1;
}
return 0;