summaryrefslogtreecommitdiff
path: root/libbb/getopt32.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-04-09 00:33:23 +0000
committerDenis Vlasenko2008-04-09 00:33:23 +0000
commitb12b1c87b590a4bcdcafc8c6bc221ae6390bee93 (patch)
tree67a01dbf5fb43c5bd4664eddcffa755c0679a338 /libbb/getopt32.c
parent79cedcb2c0d88531323e5c2a31fd8465241fbffa (diff)
downloadbusybox-b12b1c87b590a4bcdcafc8c6bc221ae6390bee93.zip
busybox-b12b1c87b590a4bcdcafc8c6bc221ae6390bee93.tar.gz
Splitting xfuncs.c into two parts. No code chabges.
Diffstat (limited to 'libbb/getopt32.c')
-rw-r--r--libbb/getopt32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/getopt32.c b/libbb/getopt32.c
index c0d8856..cd89032 100644
--- a/libbb/getopt32.c
+++ b/libbb/getopt32.c
@@ -560,6 +560,7 @@ getopt32(char **argv, const char *applet_opts, ...)
llist_add_to_end((llist_t **)(on_off->optarg), optarg);
} else if (on_off->param_type == PARAM_INT) {
if (optarg)
+//TODO: xatoi_u indirectly pulls in printf machinery
*(unsigned*)(on_off->optarg) = xatoi_u(optarg);
} else if (on_off->optarg) {
if (optarg)