summaryrefslogtreecommitdiff
path: root/usr.sbin/eeprom/eehandlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/eeprom/eehandlers.c')
-rw-r--r--usr.sbin/eeprom/eehandlers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/eeprom/eehandlers.c b/usr.sbin/eeprom/eehandlers.c
index 6a192c1e407..add02041ea1 100644
--- a/usr.sbin/eeprom/eehandlers.c
+++ b/usr.sbin/eeprom/eehandlers.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eehandlers.c,v 1.5 1996/08/31 12:56:06 deraadt Exp $ */
+/* $OpenBSD: eehandlers.c,v 1.6 2000/06/30 16:00:24 millert Exp $ */
/* $NetBSD: eehandlers.c,v 1.2 1996/02/28 01:13:22 thorpej Exp $ */
/*-
@@ -79,14 +79,14 @@ static int doio __P((struct keytabent *, u_char *, ssize_t, int));
}
#define FAILEDREAD(kt) { \
- warnx(err_str); \
+ warnx("%s", err_str); \
warnx("failed to read field `%s'", (kt)->kt_keyword); \
++eval; \
return; \
}
#define FAILEDWRITE(kt) { \
- warnx(err_str); \
+ warnx("%s", err_str); \
warnx("failed to update field `%s'", (kt)->kt_keyword); \
++eval; \
return; \