Module Name: src Committed By: pgoyette Date: Sun Jul 8 21:59:12 UTC 2018
Modified Files: src/sys/sys: types.h Log Message: Revert previous as requested. Leaving it to dholland@ (who originally proposed this on IRC) to raise any necessary discussion on tech-kern. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/sys/types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/types.h diff -u src/sys/sys/types.h:1.99 src/sys/sys/types.h:1.100 --- src/sys/sys/types.h:1.99 Sun Jul 8 06:21:41 2018 +++ src/sys/sys/types.h Sun Jul 8 21:59:12 2018 @@ -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 @@ struct uio; #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)