aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-05 12:09:05 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-05 12:09:05 +0000
commit2f67da5e5bc2847fd6aef789f1ae73e8f1184eae (patch)
tree1446533c26d786649238b366bb10d48b68ec2c09
parent2c7ac4edb1a21c962420c14eee6ec0ab2e8c595b (diff)
downloadgdbm-2f67da5e5bc2847fd6aef789f1ae73e8f1184eae.tar.gz
gdbm-2f67da5e5bc2847fd6aef789f1ae73e8f1184eae.tar.bz2
(error): Bugfix.
-rw-r--r--src/testgdbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testgdbm.c b/src/testgdbm.c
index 5bf050b..4deb3da 100644
--- a/src/testgdbm.c
+++ b/src/testgdbm.c
@@ -184,7 +184,7 @@ error (int code, char *fmt, ...)
fprintf (stderr, "%s: ", progname);
va_start (ap, fmt);
vfprintf (stderr, fmt, ap);
- va_end (fmt);
+ va_end (ap);
fputc ('\n', stderr);
if (code)
exit (code);

Return to:

Send suggestions and report system problems to the System administrator.