diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2002-07-30 19:33:39 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2002-07-30 19:33:39 +0000 |
commit | 3f86517f16a9cf970e93e483e90066da6eb323dd (patch) | |
tree | 2e03b6e287adc36cfd606a3f67a664bd5222e1a3 /sys/contrib/dev/acpica/nsnames.c | |
parent | 80fd7f7b7e25faf86d25d2c97b3a0dfbedb12552 (diff) | |
download | FreeBSD-src-3f86517f16a9cf970e93e483e90066da6eb323dd.zip FreeBSD-src-3f86517f16a9cf970e93e483e90066da6eb323dd.tar.gz |
Vendor import of the Intel ACPI CA 20020725 drop.
Diffstat (limited to 'sys/contrib/dev/acpica/nsnames.c')
-rw-r--r-- | sys/contrib/dev/acpica/nsnames.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/dev/acpica/nsnames.c b/sys/contrib/dev/acpica/nsnames.c index 8e53912..670ce3a 100644 --- a/sys/contrib/dev/acpica/nsnames.c +++ b/sys/contrib/dev/acpica/nsnames.c @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: nsnames - Name manipulation and search - * $Revision: 77 $ + * $Revision: 78 $ * ******************************************************************************/ @@ -275,7 +275,7 @@ AcpiNsGetPathnameLength ( Size = 0; NextNode = Node; - while (NextNode != AcpiGbl_RootNode) + while (NextNode && (NextNode != AcpiGbl_RootNode)) { Size += PATH_SEGMENT_LENGTH; NextNode = AcpiNsGetParentNode (NextNode); |