diff options
| author | Mike Barcroft <mike@FreeBSD.org> | 2002-09-25 04:06:37 +0000 |
|---|---|---|
| committer | Mike Barcroft <mike@FreeBSD.org> | 2002-09-25 04:06:37 +0000 |
| commit | 89fdc4e117285d001665922c93080c804a8f8810 (patch) | |
| tree | 2295edf76df9065e84ea0b415c9c13ecf434f1fa /sbin/dump/dump.h | |
| parent | df93d794dccd272ca6d809e325cd381faeb6a4df (diff) | |
Notes
Diffstat (limited to 'sbin/dump/dump.h')
| -rw-r--r-- | sbin/dump/dump.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sbin/dump/dump.h b/sbin/dump/dump.h index e2003476afe4..a148c6ba8cbe 100644 --- a/sbin/dump/dump.h +++ b/sbin/dump/dump.h @@ -46,11 +46,14 @@ char *dumpinomap; /* map of files to be dumped */ * Map manipulation macros. */ #define SETINO(ino, map) \ - map[(u_int)((ino) - 1) / NBBY] |= 1 << ((u_int)((ino) - 1) % NBBY) + map[(u_int)((ino) - 1) / CHAR_BIT] |= \ + 1 << ((u_int)((ino) - 1) % CHAR_BIT) #define CLRINO(ino, map) \ - map[(u_int)((ino) - 1) / NBBY] &= ~(1 << ((u_int)((ino) - 1) % NBBY)) + map[(u_int)((ino) - 1) / CHAR_BIT] &= \ + ~(1 << ((u_int)((ino) - 1) % CHAR_BIT)) #define TSTINO(ino, map) \ - (map[(u_int)((ino) - 1) / NBBY] & (1 << ((u_int)((ino) - 1) % NBBY))) + (map[(u_int)((ino) - 1) / CHAR_BIT] & \ + (1 << ((u_int)((ino) - 1) % CHAR_BIT))) /* * All calculations done in 0.1" units! |
