summaryrefslogtreecommitdiffstats
path: root/tests/chkseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chkseq.c')
-rw-r--r--tests/chkseq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/chkseq.c b/tests/chkseq.c
index 5ffe855c..8c5fc61a 100644
--- a/tests/chkseq.c
+++ b/tests/chkseq.c
@@ -79,7 +79,8 @@ int main(int argc, char *argv[])
/* read file */
fp = fopen(file, "r");
if(fp == NULL) {
- perror(argv[1]);
+ printf("error opening file '%s'\n", file);
+ perror(file);
exit(1);
}