From 136eac2a0638d3c751b1987603f71a9ae26879fd Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Mon, 20 Jul 2015 22:31:50 +0000 Subject: Import ACPICA 20150717. --- source/components/namespace/nsxfname.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/components/namespace/nsxfname.c') diff --git a/source/components/namespace/nsxfname.c b/source/components/namespace/nsxfname.c index 7f92201843aa..311431b2de84 100644 --- a/source/components/namespace/nsxfname.c +++ b/source/components/namespace/nsxfname.c @@ -193,11 +193,13 @@ AcpiGetName ( return (Status); } - if (NameType == ACPI_FULL_PATHNAME) + if (NameType == ACPI_FULL_PATHNAME || + NameType == ACPI_FULL_PATHNAME_NO_TRAILING) { /* Get the full pathname (From the namespace root) */ - Status = AcpiNsHandleToPathname (Handle, Buffer); + Status = AcpiNsHandleToPathname (Handle, Buffer, + NameType == ACPI_FULL_PATHNAME ? FALSE : TRUE); return (Status); } -- cgit v1.2.3