From ce7f605ba7d119d7aae336117a306167ede44916 Mon Sep 17 00:00:00 2001 From: "Thomas Bushnell, BSG" Date: Tue, 8 Oct 1996 18:38:08 +0000 Subject: *** empty log message *** Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG * hurd/ports-get.c (_hurd_ports_get): If the requested port is null, don't attempt mach_port_mod_refs. --- sysdeps/unix/bsd/tcflow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/bsd/tcflow.c') diff --git a/sysdeps/unix/bsd/tcflow.c b/sysdeps/unix/bsd/tcflow.c index 1919d6d9ea..04895a0648 100644 --- a/sysdeps/unix/bsd/tcflow.c +++ b/sysdeps/unix/bsd/tcflow.c @@ -32,9 +32,9 @@ tcflow (fd, action) switch (action) { case TCOOFF: - return __ioctl (fd, TIOCSTOP, (PTR) NULL); + return __ioctl (fd, TIOCSTOP, (void *) NULL); case TCOON: - return __ioctl (fd, TIOCSTART, (PTR) NULL); + return __ioctl (fd, TIOCSTART, (void *) NULL); case TCIOFF: case TCION: -- cgit 1.4.1