summaryrefslogtreecommitdiff
path: root/usr.bin/mg/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/echo.c')
-rw-r--r--usr.bin/mg/echo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c
index fcc9beb1a2a..c600ebb449c 100644
--- a/usr.bin/mg/echo.c
+++ b/usr.bin/mg/echo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: echo.c,v 1.44 2006/03/28 20:16:24 kjell Exp $ */
+/* $OpenBSD: echo.c,v 1.45 2006/03/30 18:32:07 kjell Exp $ */
/* This file is in the public domain. */
@@ -937,7 +937,7 @@ copy_list(struct list *lp)
last = NULL;
while (lp) {
- current = (struct list *)malloc(sizeof(struct list));
+ current = malloc(sizeof(struct list));
if (current == NULL) {
/* Free what we have allocated so far */
for (current = last; current; current = nxt) {