From 71928f99ec3b0f5984d83438da266c7ef97afb5a Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Wed, 2 Feb 2011 05:26:26 +0000 Subject: It is still not the 80s anymore -- remove all caddr_ts --- zhm/zhm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zhm/zhm.c') diff --git a/zhm/zhm.c b/zhm/zhm.c index cfce24c..fb6e7c3 100644 --- a/zhm/zhm.c +++ b/zhm/zhm.c @@ -495,7 +495,7 @@ detach(void) * doesn't already have one. POSIX systems won't include * (see ../h/sysdep.h); if TIOCNOTTY is defined anyway, * this is unnecessary but won't hurt. */ - ioctl(i, TIOCNOTTY, (caddr_t) 0); + ioctl(i, TIOCNOTTY, NULL); #endif close(i); } -- cgit v1.2.3