diff options
author | Lipi C.H. Lee <lipisoft@gmail.com> | 2016-09-26 08:55:53 +0900 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-09-27 17:19:39 -0500 |
commit | af4be15b84ed8cf80d169d02949bdf3b2ea63cd5 (patch) | |
tree | c05af3e7a61769d8c7f2ea95e12a1433193f96e2 /toys | |
parent | 409a8e093a4ea8e0892ab302b4fd433d08f435eb (diff) | |
download | toybox-af4be15b84ed8cf80d169d02949bdf3b2ea63cd5.tar.gz |
Changed xopen_stdin() to xopen_stdio().
Diffstat (limited to 'toys')
-rw-r--r-- | toys/pending/sulogin.c | 2 |
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); |