From af4be15b84ed8cf80d169d02949bdf3b2ea63cd5 Mon Sep 17 00:00:00 2001 From: "Lipi C.H. Lee" Date: Mon, 26 Sep 2016 08:55:53 +0900 Subject: Changed xopen_stdin() to xopen_stdio(). --- toys/pending/sulogin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/pending/sulogin.c b/toys/pending/sulogin.c index bc3638e3..c773e639 100644 --- a/toys/pending/sulogin.c +++ b/toys/pending/sulogin.c @@ -88,7 +88,7 @@ void sulogin_main(void) if (toys.optargs[0]) { int fd; - dup2((fd = xopen_stdin(toys.optargs[0], O_RDWR)), 0); + dup2((fd = xopen_stdio(toys.optargs[0], O_RDWR)), 0); if (!isatty(0)) error_exit("%s: it is not a tty", toys.optargs[0]); dup2( fd, 1); dup2( fd, 2); -- cgit v1.2.3