diff options
Diffstat (limited to 'src/binlogcat.c')
-rw-r--r-- | src/binlogcat.c | 2 |
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); } } |