diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-08-04 09:09:53 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-08-04 09:09:53 +0000 |
commit | 35484f52ed045768ebbce6d709ea29b3d922288c (patch) | |
tree | ec85e1af0caab5975d94648c42b8767ddc087d31 /sys/lib/libz | |
parent | 5485e41b05202d2a14dfeaa4c766961124296d89 (diff) |
Sync with userland libz
Diffstat (limited to 'sys/lib/libz')
-rw-r--r-- | sys/lib/libz/crc32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libz/crc32.c b/sys/lib/libz/crc32.c index 1df8e0ea205..c5828f6606e 100644 --- a/sys/lib/libz/crc32.c +++ b/sys/lib/libz/crc32.c @@ -722,8 +722,8 @@ unsigned long ZEXPORT crc32_z(unsigned long crc, const unsigned char FAR *buf, words = (z_word_t const *)buf; /* Do endian check at execution time instead of compile time, since ARM - processors can change the endianess at execution time. If the - compiler knows what the endianess will be, it can optimize out the + processors can change the endianness at execution time. If the + compiler knows what the endianness will be, it can optimize out the check and the unused branch. */ endian = 1; if (*(unsigned char *)&endian) { |