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 /util-linux/uevent.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 'util-linux/uevent.c')
-rw-r--r-- | util-linux/uevent.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util-linux/uevent.c b/util-linux/uevent.c index 252e8fb64..7ff866cec 100644 --- a/util-linux/uevent.c +++ b/util-linux/uevent.c | |||
@@ -32,7 +32,10 @@ | |||
32 | #define env ((char **)bb_common_bufsiz1) | 32 | #define env ((char **)bb_common_bufsiz1) |
33 | #define INIT_G() do { setup_common_bufsiz(); } while (0) | 33 | #define INIT_G() do { setup_common_bufsiz(); } while (0) |
34 | enum { | 34 | enum { |
35 | MAX_ENV = COMMON_BUFSIZE / sizeof(env[0]) - 1, | 35 | MAX_ENV = COMMON_BUFSIZE / sizeof(char*) - 1, |
36 | /* sizeof(env[0]) instead of sizeof(char*) | ||
37 | * makes gcc-6.3.0 emit "strict-aliasing" warning. | ||
38 | */ | ||
36 | }; | 39 | }; |
37 | 40 | ||
38 | #ifndef SO_RCVBUFFORCE | 41 | #ifndef SO_RCVBUFFORCE |