[syslinux:master] acpi: Return success value

syslinux-bot for Erwan Velu erwan.velu at free.fr
Sun Feb 6 14:06:36 PST 2011


Commit-ID:  58540b871674824167937ed16fe32597e7e6f516
Gitweb:     http://syslinux.zytor.com/commit/58540b871674824167937ed16fe32597e7e6f516
Author:     Erwan Velu <erwan.velu at free.fr>
AuthorDate: Wed, 2 Dec 2009 11:14:41 +0100
Committer:  Erwan Velu <erwan.velu at free.fr>
CommitDate: Fri, 4 Dec 2009 10:19:00 +0100

acpi: Return success value

Impact: defining a success return value

Success have to return a defined value


---
 com32/gpllib/acpi/acpi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/com32/gpllib/acpi/acpi.c b/com32/gpllib/acpi/acpi.c
index 911fd16..e9298fd 100644
--- a/com32/gpllib/acpi/acpi.c
+++ b/com32/gpllib/acpi/acpi.c
@@ -44,4 +44,6 @@ int parse_acpi(s_acpi * acpi)
     /* Let's seach for RSDT table */
     if ((ret_val = search_rsdp(acpi)) != RSDP_TABLE_FOUND)
 	return ret_val;
+
+    return ACPI_FOUND;
 }



More information about the Syslinux-commits mailing list