diff options
Diffstat (limited to 'sys/libkern/bcd.c')
-rw-r--r-- | sys/libkern/bcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/libkern/bcd.c b/sys/libkern/bcd.c index 13178f0..35daacc 100644 --- a/sys/libkern/bcd.c +++ b/sys/libkern/bcd.c @@ -5,7 +5,7 @@ #include <sys/types.h> -u_char const _bin2bcd[] = { +u_char const _bcd2bin[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,0,0,0,0,0,0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,0,0,0,0,0,0, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,0,0,0,0,0,0, @@ -18,7 +18,7 @@ u_char const _bin2bcd[] = { 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 }; -u_char const _bcd2bin[] = { +u_char const _bin2bcd[] = { 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19, 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29, |