aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLipi C.H. Lee <lipisoft@gmail.com>2016-09-26 08:55:53 +0900
committerRob Landley <rob@landley.net>2016-09-27 17:19:39 -0500
commitaf4be15b84ed8cf80d169d02949bdf3b2ea63cd5 (patch)
treec05af3e7a61769d8c7f2ea95e12a1433193f96e2
parent409a8e093a4ea8e0892ab302b4fd433d08f435eb (diff)
downloadtoybox-af4be15b84ed8cf80d169d02949bdf3b2ea63cd5.tar.gz
Changed xopen_stdin() to xopen_stdio().
-rw-r--r--toys/pending/sulogin.c2
1 files changed, 1 insertions, 1 deletions
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);