aboutsummaryrefslogtreecommitdiff
path: root/src/binlogsel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/binlogsel.c')
-rw-r--r--src/binlogsel.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/binlogsel.c b/src/binlogsel.c
index e095347..63a35e7 100644
--- a/src/binlogsel.c
+++ b/src/binlogsel.c
@@ -160,7 +160,7 @@ selmem(const char *name, void *base)
size_t i, start;
time_t start_ts;
char timebuf[128];
- char *dataspec;
+ char *format;
hdr = base;
@@ -174,18 +174,18 @@ selmem(const char *name, void *base)
return;
}
- dataspec = (char*)(hdr + 1);
+ format = (char*)(hdr + 1);
if (verbose_option)
printf("# %s; format=%s; recsize=%lu; recnum=%lu\n",
- name, dataspec, (unsigned long) hdr->recsize,
+ name, format, (unsigned long) hdr->recsize,
(unsigned long) hdr->recnum);
- inst = packcomp(dataspec, &p);
+ inst = packcomp(format, &p);
if (!inst) {
if (errno == EINVAL) {
- error("%s: %s: bad dataspec near %s", name,
- dataspec, p);
+ error("%s: %s: bad format near %s", name,
+ format, p);
return;
}

Return to:

Send suggestions and report system problems to the System administrator.