summaryrefslogtreecommitdiffstats
path: root/hack/hack.unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'hack/hack.unix.c')
-rw-r--r--hack/hack.unix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.unix.c b/hack/hack.unix.c
index 44db67fb..8e82fefa 100644
--- a/hack/hack.unix.c
+++ b/hack/hack.unix.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.unix.c,v 1.15 2011/08/06 20:42:43 dholland Exp $ */
+/* $NetBSD: hack.unix.c,v 1.16 2011/08/31 16:24:56 plunky Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.unix.c,v 1.15 2011/08/06 20:42:43 dholland Exp $");
+__RCSID("$NetBSD: hack.unix.c,v 1.16 2011/08/31 16:24:56 plunky Exp $");
#endif /* not lint */
/* This file collects some Unix dependencies; hack.pager.c contains some more */
@@ -506,7 +506,7 @@ readmail(void)
if (!(mr = getenv("MAILREADER")))
mr = DEF_MAILREADER;
if (child(1)) {
- execl(mr, mr, (char *)NULL);
+ execl(mr, mr, NULL);
exit(1);
}
#else /* DEF_MAILREADER */