mirror of
https://github.com/acpica/acpica/
synced 2025-02-23 00:44:17 +03:00
Fix for RefOf/DeRefOf issue. RefOf now returns an object of type
Reference. date 2002.06.25.20.57.00; author rmoore1; state Exp;
This commit is contained in:
parent
7d29fbd5db
commit
3f97f8661f
@ -1,7 +1,7 @@
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Module Name: nsnames - Name manipulation and search
|
||||
* $Revision: 1.77 $
|
||||
* $Revision: 1.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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user