diff options
author | Ron Yorston <rmy@pobox.com> | 2020-01-08 12:30:49 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-01-08 12:30:49 +0000 |
commit | a9271a8e97e6e7be5285330d5f19352decabf807 (patch) | |
tree | bf3c4464c369a15a46454792dac167505f74769f /libbb/appletlib.c | |
parent | b0b7ab792bc1f45963f4b84b94faaf05054e1613 (diff) | |
parent | 9ec836c033fc6e55e80f3309b3e05acdf09bb297 (diff) | |
download | busybox-w32-a9271a8e97e6e7be5285330d5f19352decabf807.tar.gz busybox-w32-a9271a8e97e6e7be5285330d5f19352decabf807.tar.bz2 busybox-w32-a9271a8e97e6e7be5285330d5f19352decabf807.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r-- | libbb/appletlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index f7971daf4..17ce463ea 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -319,7 +319,7 @@ void lbb_prepare(const char *applet | |||
319 | IF_FEATURE_INDIVIDUAL(, char **argv)) | 319 | IF_FEATURE_INDIVIDUAL(, char **argv)) |
320 | { | 320 | { |
321 | #ifdef __GLIBC__ | 321 | #ifdef __GLIBC__ |
322 | (*(int **)&bb_errno) = __errno_location(); | 322 | (*(int **)not_const_pp(&bb_errno)) = __errno_location(); |
323 | barrier(); | 323 | barrier(); |
324 | #endif | 324 | #endif |
325 | applet_name = applet; | 325 | applet_name = applet; |