summaryrefslogtreecommitdiff
path: root/debianutils/readlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'debianutils/readlink.c')
-rw-r--r--debianutils/readlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debianutils/readlink.c b/debianutils/readlink.c
index bfe0db6..0d5ad94 100644
--- a/debianutils/readlink.c
+++ b/debianutils/readlink.c
@@ -18,8 +18,8 @@
int readlink_main(int argc, char **argv)
{
char *buf;
- unsigned long opt = ENABLE_FEATURE_READLINK_FOLLOW ?
- bb_getopt_ulflags(argc, argv, "f") : 0;
+ unsigned opt = ENABLE_FEATURE_READLINK_FOLLOW ?
+ getopt32(argc, argv, "f") : 0;
if (argc != (ENABLE_FEATURE_READLINK_FOLLOW ? optind + 1 : 2))
bb_show_usage();