From 5774468c5e3939d808d30b3e26fe430ade21bc93 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 6 May 2015 01:41:55 +0000 Subject: [PATCH] Use | when combining flags not +. Luckily in this case 1 + 2 == 1 | 2. ok mlarkin@ --- sys/dev/acpi/acpitz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c index c312a9c6ca6..a76e933a529 100644 --- a/sys/dev/acpi/acpitz.c +++ b/sys/dev/acpi/acpitz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpitz.c,v 1.48 2015/03/14 03:38:46 jsg Exp $ */ +/* $OpenBSD: acpitz.c,v 1.49 2015/05/06 01:41:55 jsg Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar * Copyright (c) 2005 Marco Peereboom @@ -93,7 +93,7 @@ extern int perflevel; #define ACPITZ_TRIPS (1L << 0) #define ACPITZ_DEVLIST (1L << 1) -#define ACPITZ_INIT ACPITZ_TRIPS+ACPITZ_DEVLIST +#define ACPITZ_INIT (ACPITZ_TRIPS|ACPITZ_DEVLIST) extern struct aml_node aml_root; -- 2.20.1