diff options
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 a515c3fe3..717c63649 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -303,7 +303,7 @@ void lbb_prepare(const char *applet | |||
303 | void lbb_prepare(const char *applet | 303 | void lbb_prepare(const char *applet |
304 | IF_FEATURE_INDIVIDUAL(, char **argv)) | 304 | IF_FEATURE_INDIVIDUAL(, char **argv)) |
305 | { | 305 | { |
306 | #ifdef __GLIBC__ | 306 | #ifdef bb_cached_errno_ptr |
307 | (*(int **)not_const_pp(&bb_errno)) = __errno_location(); | 307 | (*(int **)not_const_pp(&bb_errno)) = __errno_location(); |
308 | barrier(); | 308 | barrier(); |
309 | #endif | 309 | #endif |