From 2d1effc903b40731a8359608bccd24c90678dd18 Mon Sep 17 00:00:00 2001 From: Lekensteyn Date: Mon, 16 Jan 2012 12:19:36 +0100 Subject: [PATCH] Fix a harmless error message --- bbswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbswitch.c b/bbswitch.c index 1c1d0be..043ff30 100644 --- a/bbswitch.c +++ b/bbswitch.c @@ -190,7 +190,7 @@ static int bbswitch_acpi_on(void) { char args[] = {1, 0, 0, 0}; u32 result = 0; - if (!acpi_call_dsm(dis_handle, acpi_nvidia_dsm_muid, 0x102, 0x3, args, + if (acpi_call_dsm(dis_handle, acpi_nvidia_dsm_muid, 0x102, 0x3, args, &result)) { // failure return 1;