diff options
author | Karl Ramm <kcr@1ts.org> | 2011-02-02 05:26:26 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2011-02-02 05:26:26 +0000 |
commit | 71928f99ec3b0f5984d83438da266c7ef97afb5a (patch) | |
tree | dd57f77793dc4495dd085d0342ceef599f53b81a /zhm/zhm.c | |
parent | b24cbe87f78de4fda81ed0fc5502275e77d51a28 (diff) |
It is still not the 80s anymore -- remove all caddr_ts
Diffstat (limited to 'zhm/zhm.c')
-rw-r--r-- | zhm/zhm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |