From 2bf60609ee2e863499517113a9cc1546db26754f Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Thu, 2 Jun 2005 18:00:51 +0000 Subject: [PATCH] The ! operator got lost during last redesign, now correct again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12931 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/drivers/audio/ac97/ich/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/drivers/audio/ac97/ich/config.c b/src/add-ons/kernel/drivers/audio/ac97/ich/config.c index f84d3c1d50..e8e950de4d 100644 --- a/src/add-ons/kernel/drivers/audio/ac97/ich/config.c +++ b/src/add-ons/kernel/drivers/audio/ac97/ich/config.c @@ -170,7 +170,7 @@ probe_ok: result = B_ERROR; } /* all other ICHs use programmed IO */ - if ((config->type & TYPE_ICH4) && ((config->nambar == 0) || (config->nabmbar == 0))) { + if (!(config->type & TYPE_ICH4) && ((config->nambar == 0) || (config->nabmbar == 0))) { PRINT(("ERROR: IO space not configured\n")); result = B_ERROR; }