diff options
author | 2019-10-06 15:45:37 +0000 | |
---|---|---|
committer | 2019-10-06 15:45:37 +0000 | |
commit | e4ef2e2ba9e362f8e79ecc662b6ea3e8395a8b4b (patch) | |
tree | 9cc1de3eb0e14020ba854e60fb5248ec99616938 | |
parent | Avoid gasting around get_process_info() (diff) | |
download | wireguard-openbsd-e4ef2e2ba9e362f8e79ecc662b6ea3e8395a8b4b.tar.xz wireguard-openbsd-e4ef2e2ba9e362f8e79ecc662b6ea3e8395a8b4b.zip |
Fix month mask.
ok deraadt@, patrick@
-rw-r--r-- | sys/dev/i2c/pcf8563.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/pcf8563.c b/sys/dev/i2c/pcf8563.c index 92fcefb34d1..c1776e1c51d 100644 --- a/sys/dev/i2c/pcf8563.c +++ b/sys/dev/i2c/pcf8563.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcf8563.c,v 1.1 2017/07/24 20:25:29 kettenis Exp $ */ +/* $OpenBSD: pcf8563.c,v 1.2 2019/10/06 15:45:37 kettenis Exp $ */ /* * Copyright (c) 2005 Kimihiro Nonaka @@ -71,7 +71,7 @@ #define PCF8563_HOURS_MASK 0x3f #define PCF8563_DAY_MASK 0x3f #define PCF8563_WDAY_MASK 0x07 -#define PCF8563_MONTH_MASK 0x0f +#define PCF8563_MONTH_MASK 0x1f #define PCF8563_MONTH_C (1 << 7) struct pcxrtc_softc { |