summaryrefslogtreecommitdiffstats
path: root/hack/hack.ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'hack/hack.ioctl.c')
-rw-r--r--hack/hack.ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/hack.ioctl.c b/hack/hack.ioctl.c
index 776c6aab..45c73b17 100644
--- a/hack/hack.ioctl.c
+++ b/hack/hack.ioctl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.ioctl.c,v 1.9 2009/08/12 07:28:40 dholland Exp $ */
+/* $NetBSD: hack.ioctl.c,v 1.10 2011/08/06 20:42:43 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.ioctl.c,v 1.9 2009/08/12 07:28:40 dholland Exp $");
+__RCSID("$NetBSD: hack.ioctl.c,v 1.10 2011/08/06 20:42:43 dholland Exp $");
#endif /* not lint */
/*
@@ -95,7 +95,7 @@ dosuspend(void)
{
#ifdef SIGTSTP
if (signal(SIGTSTP, SIG_IGN) == SIG_DFL) {
- settty((char *) 0);
+ settty(NULL);
(void) signal(SIGTSTP, SIG_DFL);
(void) kill(0, SIGTSTP);
gettty();