[HURD,PATCH] Fix recent TIOCSCTTY cleanup

Carl Fredrik Hammar hammy.lite@gmail.com
Fri Feb 19 17:08:00 GMT 2010


Hi,

In the commited version of my previous patch, `tiocsctty_port' was
renamed as `do_tiocsctty', but the call site was not updated.

Regards,
  Fredrik

2010-02-19  Carl Fredrik Hammar  <hammy.lite@gmali.com>
    
	* hurd/hurdioctl.c (tiocsctty): Call `do_tiocsctty' instead of
	non-existent `tiocsctty_port'.

---
 hurd/hurdioctl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hurd/hurdioctl.c b/hurd/hurdioctl.c
index 1da8c05..04d9862 100644
--- a/hurd/hurdioctl.c
+++ b/hurd/hurdioctl.c
@@ -272,7 +272,7 @@ static int
 tiocsctty (int fd,
 	   int request)		/* Always TIOCSCTTY.  */
 {
-  return __hurd_fail (HURD_DPORT_USE (fd, tiocsctty_port (port, ctty)));
+  return __hurd_fail (HURD_DPORT_USE (fd, do_tiocsctty (port, ctty)));
 }
 _HURD_HANDLE_IOCTL (tiocsctty, TIOCSCTTY);
 
-- 
tg: (8c3fe38..) t/tiocsctty-fix (depends on: master)



More information about the Libc-alpha mailing list