aboutsummaryrefslogtreecommitdiff
path: root/toys/pending
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending')
-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);