diff options
author | Ron Yorston <rmy@pobox.com> | 2017-08-22 14:56:12 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-22 14:56:12 +0100 |
commit | ce9af1cc5ea23f754587448cf35b5120c77bfeef (patch) | |
tree | 69e5eaba5e75ab909ed92d5045393471b8ff3c13 /editors/patch_bbox.c | |
parent | c170026700eabb10147dd848c45c06995b43a32e (diff) | |
parent | e837a0dbbebf4229306df98fe9ee3b9bb30630c4 (diff) | |
download | busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.tar.gz busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.tar.bz2 busybox-w32-ce9af1cc5ea23f754587448cf35b5120c77bfeef.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'editors/patch_bbox.c')
-rw-r--r-- | editors/patch_bbox.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/patch_bbox.c b/editors/patch_bbox.c index aae7b7987..8e09ef488 100644 --- a/editors/patch_bbox.c +++ b/editors/patch_bbox.c | |||
@@ -111,10 +111,9 @@ int patch_main(int argc UNUSED_PARAM, char **argv) | |||
111 | "no-backup-if-mismatch\0" No_argument "\xff" /*ignored*/ | 111 | "no-backup-if-mismatch\0" No_argument "\xff" /*ignored*/ |
112 | # endif | 112 | # endif |
113 | ; | 113 | ; |
114 | applet_long_options = patch_longopts; | ||
115 | #endif | 114 | #endif |
116 | /* -f,-E,-g are ignored */ | 115 | /* -f,-E,-g are ignored */ |
117 | opt = getopt32(argv, "p:i:RN""fEg:", &p, &i, NULL); | 116 | opt = getopt32long(argv, "p:i:RN""fEg:", patch_longopts, &p, &i, NULL); |
118 | if (opt & OPT_R) | 117 | if (opt & OPT_R) |
119 | plus = '-'; | 118 | plus = '-'; |
120 | patch_level = xatoi(p); /* can be negative! */ | 119 | patch_level = xatoi(p); /* can be negative! */ |