summaryrefslogtreecommitdiffabout
path: root/src/binlogcat.c
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-17 19:27:16 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-10-17 19:27:16 (GMT)
commit803128db75e3efea8cd7be29732a7b4315205d13 (patch) (side-by-side diff)
tree713699a3724f905ca3dd740c386c9ffdb75e94a7 /src/binlogcat.c
parentaad0ead6ae1bb56953642eac584d9a5f1dc6d72e (diff)
downloadvmod-binlog-803128db75e3efea8cd7be29732a7b4315205d13.tar.gz
vmod-binlog-803128db75e3efea8cd7be29732a7b4315205d13.tar.bz2
binlogsel: add loadable module support
* Makefile.am (SUBDIRS): Add libltdl * configure.ac: Configure ltdl * src/Makefile.am (binlogsel_LDADD): Add LIBLTDL. (binlogsel_CPPFLAGS): New variable. * src/binlogcat.c (catlog): Bugfix. * src/binlogsel.c: Allow for multiple intervals. Support loadable modules. * doc/binlogcat.1: Update. * doc/binlogsel.1: Update. * doc/vmod-binlog.3: Update.
Diffstat (limited to 'src/binlogcat.c') (more/less context) (ignore whitespace changes)
-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.