summaryrefslogtreecommitdiff
path: root/zhm/zhm.c
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2011-02-02 05:26:26 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2011-02-02 05:26:26 +0000
commit71928f99ec3b0f5984d83438da266c7ef97afb5a (patch)
treedd57f77793dc4495dd085d0342ceef599f53b81a /zhm/zhm.c
parentb24cbe87f78de4fda81ed0fc5502275e77d51a28 (diff)
It is still not the 80s anymore -- remove all caddr_ts
Diffstat (limited to 'zhm/zhm.c')
-rw-r--r--zhm/zhm.c2
1 files changed, 1 insertions, 1 deletions
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
* <sys/ioctl.h> (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);
}