Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Remove misplaced semicolon, found by GCC 6.
details: https://anonhg.NetBSD.org/src/rev/8eb830468802
branches: trunk
changeset: 359293:8eb830468802
user: rin <rin%NetBSD.org@localhost>
date: Tue Feb 06 13:26:32 2018 +0000
description:
Remove misplaced semicolon, found by GCC 6.
diffstat:
sys/dev/ic/msm6242b.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 06b417baf276 -r 8eb830468802 sys/dev/ic/msm6242b.c
--- a/sys/dev/ic/msm6242b.c Tue Feb 06 12:58:17 2018 +0000
+++ b/sys/dev/ic/msm6242b.c Tue Feb 06 13:26:32 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msm6242b.c,v 1.3 2013/12/04 07:48:59 rkujawa Exp $ */
+/* $NetBSD: msm6242b.c,v 1.4 2018/02/06 13:26:32 rin Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msm6242b.c,v 1.3 2013/12/04 07:48:59 rkujawa Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msm6242b.c,v 1.4 2018/02/06 13:26:32 rin Exp $");
/*
* Driver for OKI MSM6242B Real Time Clock. Somewhat based on an ancient, amiga
@@ -123,7 +123,7 @@
MSM6242B_PMAM_BIT) == 0 && dt->dt_hour == 12)
dt->dt_hour = 0;
else if ((msm6242b_read(sc, MSM6242B_10HOUR_PMAM) &
- MSM6242B_PMAM_BIT) && dt->dt_hour != 12);
+ MSM6242B_PMAM_BIT) && dt->dt_hour != 12)
dt->dt_hour += 12;
}
Home |
Main Index |
Thread Index |
Old Index