summaryrefslogtreecommitdiffstats
path: root/hack/hack.o_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'hack/hack.o_init.c')
-rw-r--r--hack/hack.o_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.o_init.c b/hack/hack.o_init.c
index 7b38ab16..6db5a45b 100644
--- a/hack/hack.o_init.c
+++ b/hack/hack.o_init.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.o_init.c,v 1.11 2011/08/06 20:00:33 dholland Exp $ */
+/* $NetBSD: hack.o_init.c,v 1.12 2011/08/06 20:18:26 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.o_init.c,v 1.11 2011/08/06 20:00:33 dholland Exp $");
+__RCSID("$NetBSD: hack.o_init.c,v 1.12 2011/08/06 20:18:26 dholland Exp $");
#endif /* not lint */
#include <string.h>
@@ -206,7 +206,7 @@ restnames(int fd)
for (i = 0; i < SIZE(objects); i++)
if (objects[i].oc_uname) {
mread(fd, &len, sizeof len);
- objects[i].oc_uname = (char *) alloc(len);
+ objects[i].oc_uname = alloc(len);
mread(fd, objects[i].oc_uname, len);
}
}