aboutsummaryrefslogtreecommitdiff
path: root/src/binlogcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/binlogcat.c')
-rw-r--r--src/binlogcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binlogcat.c b/src/binlogcat.c
index bc7df6c..dd337bb 100644
--- a/src/binlogcat.c
+++ b/src/binlogcat.c
@@ -54,7 +54,7 @@ catlog(const char *fname)
else {
fp = fopen(fname, "r");
if (!fp) {
- error("cannot open %s: %s", strerror(errno));
+ error("cannot open %s: %s", fname, strerror(errno));
exit(1);
}
}

Return to:

Send suggestions and report system problems to the System administrator.