summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-01-15 21:26:43 +0000
committerphk <phk@FreeBSD.org>1996-01-15 21:26:43 +0000
commitcec94deabe34b585be7b0d70cbe9cc117a949334 (patch)
tree4bf47fe2b3e27e96c5e444a1527d407ddd423ed0 /sys/libkern
parent53601cdcfd7ed1757f209cd45cf9d2b85757f919 (diff)
downloadFreeBSD-src-cec94deabe34b585be7b0d70cbe9cc117a949334.zip
FreeBSD-src-cec94deabe34b585be7b0d70cbe9cc117a949334.tar.gz
My wife is busy making me a new conical hat, so you don't need to
send any to me this time. Commited an old copy of this files where the tables were swapped. Duh!.
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/bcd.c4
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,
OpenPOWER on IntegriCloud