aboutsummaryrefslogtreecommitdiff
path: root/libbb/getopt32.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-09 00:33:23 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-09 00:33:23 +0000
commitb12b1c87b590a4bcdcafc8c6bc221ae6390bee93 (patch)
tree67a01dbf5fb43c5bd4664eddcffa755c0679a338 /libbb/getopt32.c
parent79cedcb2c0d88531323e5c2a31fd8465241fbffa (diff)
downloadbusybox-w32-b12b1c87b590a4bcdcafc8c6bc221ae6390bee93.tar.gz
busybox-w32-b12b1c87b590a4bcdcafc8c6bc221ae6390bee93.tar.bz2
busybox-w32-b12b1c87b590a4bcdcafc8c6bc221ae6390bee93.zip
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 c0d885603..cd890323e 100644
--- a/libbb/getopt32.c
+++ b/libbb/getopt32.c
@@ -560,6 +560,7 @@ getopt32(char **argv, const char *applet_opts, ...)
560 llist_add_to_end((llist_t **)(on_off->optarg), optarg); 560 llist_add_to_end((llist_t **)(on_off->optarg), optarg);
561 } else if (on_off->param_type == PARAM_INT) { 561 } else if (on_off->param_type == PARAM_INT) {
562 if (optarg) 562 if (optarg)
563//TODO: xatoi_u indirectly pulls in printf machinery
563 *(unsigned*)(on_off->optarg) = xatoi_u(optarg); 564 *(unsigned*)(on_off->optarg) = xatoi_u(optarg);
564 } else if (on_off->optarg) { 565 } else if (on_off->optarg) {
565 if (optarg) 566 if (optarg)