summaryrefslogtreecommitdiffstats
path: root/usr.sbin/eeprom/ophandlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/eeprom/ophandlers.c')
-rw-r--r--usr.sbin/eeprom/ophandlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/eeprom/ophandlers.c b/usr.sbin/eeprom/ophandlers.c
index b66c5138b3e..751fb68a294 100644
--- a/usr.sbin/eeprom/ophandlers.c
+++ b/usr.sbin/eeprom/ophandlers.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ophandlers.c,v 1.13 2014/11/18 20:54:28 krw Exp $ */
+/* $OpenBSD: ophandlers.c,v 1.14 2015/08/20 22:39:29 deraadt Exp $ */
/* $NetBSD: ophandlers.c,v 1.2 1996/02/28 01:13:30 thorpej Exp $ */
/*-
@@ -265,7 +265,7 @@ op_print(char *op_buf)
size_t size;
size = 1 + 4 * strlen(op_buf);
- vistr = (char *)malloc(size);
+ vistr = malloc(size);
if (vistr == NULL)
printf("(out of memory)\n");
else {