Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Revert previous as requested. Leaving it to dhollan...
details: https://anonhg.NetBSD.org/src/rev/28b658c374c2
branches: trunk
changeset: 320454:28b658c374c2
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Jul 08 21:59:12 2018 +0000
description:
Revert previous as requested. Leaving it to dholland@ (who originally
proposed this on IRC) to raise any necessary discussion on tech-kern.
diffstat:
sys/sys/types.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7e79f7edbc8b -r 28b658c374c2 sys/sys/types.h
--- a/sys/sys/types.h Sun Jul 08 21:01:21 2018 +0000
+++ b/sys/sys/types.h Sun Jul 08 21:59:12 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.99 2018/07/08 06:21:41 pgoyette Exp $ */
+/* $NetBSD: types.h,v 1.100 2018/07/08 21:59:12 pgoyette Exp $ */
/*-
* Copyright (c) 1982, 1986, 1991, 1993, 1994
@@ -345,7 +345,7 @@
#ifdef _KERNEL
#define SET(t, f) ((t) |= (f))
#define ISSET(t, f) ((t) & (f))
-#define CLR(t, f) ((t) = ~(~(t) | (f)))
+#define CLR(t, f) ((t) &= ~(f))
#endif
#if !defined(_KERNEL) && !defined(_STANDALONE)
Home |
Main Index |
Thread Index |
Old Index