diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-06 02:23:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-06 02:23:39 +0000 |
commit | 1bec1b980e3cf5ad604fb0c2038a3ab83d9ab5f5 (patch) | |
tree | 924352d9309f62c733927506ed08086a2880556c /modutils/insmod.c | |
parent | cd0fbb5e778e3cef7f88b71a55b673cbdf7cee85 (diff) | |
download | busybox-w32-1bec1b980e3cf5ad604fb0c2038a3ab83d9ab5f5.tar.gz busybox-w32-1bec1b980e3cf5ad604fb0c2038a3ab83d9ab5f5.tar.bz2 busybox-w32-1bec1b980e3cf5ad604fb0c2038a3ab83d9ab5f5.zip |
telnet: use poll, it's shorter
*: style fixes
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r-- | modutils/insmod.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 7d51d9db3..4620f6f95 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -1951,7 +1951,8 @@ static unsigned long obj_elf_hash_n(const char *name, unsigned long n) | |||
1951 | while (n > 0) { | 1951 | while (n > 0) { |
1952 | ch = *name++; | 1952 | ch = *name++; |
1953 | h = (h << 4) + ch; | 1953 | h = (h << 4) + ch; |
1954 | if ((g = (h & 0xf0000000)) != 0) { | 1954 | g = (h & 0xf0000000); |
1955 | if (g != 0) { | ||
1955 | h ^= g >> 24; | 1956 | h ^= g >> 24; |
1956 | h &= ~g; | 1957 | h &= ~g; |
1957 | } | 1958 | } |