summaryrefslogtreecommitdiffhomepage
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)
xfunc_error_retval = 2; /* SUSv3 requires > 1 for error. */
- silent = bb_getopt_ulflags(argc, argv, "s");
+ silent = getopt32(argc, argv, "s");
/* gnu tty outputs a warning that it is ignoring all args. */
bb_warn_ignoring_args(argc - optind);