From: tb Date: Fri, 4 Aug 2023 09:09:04 +0000 (+0000) Subject: Fix a couple of typos in a comment X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=70ce8dca00628be1d4e8ae025e352eafab511f42;p=openbsd Fix a couple of typos in a comment from upstream --- diff --git a/lib/libz/crc32.c b/lib/libz/crc32.c index 1df8e0ea205..c5828f6606e 100644 --- a/lib/libz/crc32.c +++ b/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) {