]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
use CHAR_BIT, not BITSPERBYTE TEXTUTILS-2_0_9
authorJim Meyering <jim@meyering.net>
Sun, 3 Dec 2000 11:00:06 +0000 (11:00 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 3 Dec 2000 11:00:06 +0000 (11:00 +0000)
src/od.c

index 26afa8128d8761e7a09b0d3e77496d3fccd40737..9ea7a52ea82d39fff03b588cf9882baeb79eadbe 100644 (file)
--- a/src/od.c
+++ b/src/od.c
@@ -155,7 +155,7 @@ static const char *output_address_fmt_string;
 
 /* The number of octal digits required to represent the largest off_t value.  */
 #define MAX_ADDRESS_LENGTH \
-  ((sizeof (off_t) * BITSPERBYTE + BITSPERBYTE - 1) / 3)
+  ((sizeof (off_t) * CHAR_BIT + CHAR_BIT - 1) / 3)
 
 /* Space for a normal address, a space, a pseudo address, parentheses
    around the pseudo address, and a trailing zero byte. */