aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/tty.c')
-rw-r--r--coreutils/tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tty.c b/coreutils/tty.c
index eb8c3dd0f..579e6f73c 100644
--- a/coreutils/tty.c
+++ b/coreutils/tty.c
@@ -23,7 +23,7 @@ int tty_main(int argc, char **argv)
23 23
24 xfunc_error_retval = 2; /* SUSv3 requires > 1 for error. */ 24 xfunc_error_retval = 2; /* SUSv3 requires > 1 for error. */
25 25
26 silent = bb_getopt_ulflags(argc, argv, "s"); 26 silent = getopt32(argc, argv, "s");
27 27
28 /* gnu tty outputs a warning that it is ignoring all args. */ 28 /* gnu tty outputs a warning that it is ignoring all args. */
29 bb_warn_ignoring_args(argc - optind); 29 bb_warn_ignoring_args(argc - optind);