diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2006-01-05 22:30:28 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2006-01-05 22:30:28 +0000 |
commit | 8cf43c41c99bf494c67a49955292c23d4a696b62 (patch) | |
tree | a12b3d4e641ee367fc6319bb31400a8ff14d9f72 /sys | |
parent | fe277c1551d2b8d6643de7a43bb2fecab748d70b (diff) |
In aml_eval_name() don't return success if no object found.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/dsdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c index 6cccece8cf7..7011329d8d5 100644 --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsdt.c,v 1.13 2005/12/30 05:59:40 tedu Exp $ */ +/* $OpenBSD: dsdt.c,v 1.14 2006/01/05 22:30:27 grange Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> * @@ -936,7 +936,7 @@ aml_eval_name(struct acpi_softc *sc, struct aml_node *root, const char *name, printf("found eval object : %s, %.4x\n", root->name, root->opcode); return aml_eval_object(sc, root, result, env); } - return (0); + return (1); } int |