summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-03 11:00:06 +0000
committerJim Meyering <jim@meyering.net>2000-12-03 11:00:06 +0000
commit523312110255070803b4b32714665b8d70b0c99e (patch)
tree931f7e3f5e49cd96d4ff43bd28543e34b1fb6e61
parent25c2989d3051d851ba95748b027f91cdfd8b4e4f (diff)
downloadcoreutils-TEXTUTILS-2_0_9.tar.gz
use CHAR_BIT, not BITSPERBYTETEXTUTILS-2_0_9
-rw-r--r--src/od.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/od.c b/src/od.c
index 26afa8128..9ea7a52ea 100644
--- 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. */