summaryrefslogtreecommitdiffstats
path: root/source/common/adfile.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-10-17 00:06:42 +0000
committerjkim <jkim@FreeBSD.org>2013-10-17 00:06:42 +0000
commitf4a31baa14e08b26c3b63f02571280c872cabe90 (patch)
tree3908357b831dbb78c746f73c443b4d7ba5e966f9 /source/common/adfile.c
parentb2a92415360aacb32d9b6107bdcf100d16d09167 (diff)
downloadFreeBSD-src-f4a31baa14e08b26c3b63f02571280c872cabe90.zip
FreeBSD-src-f4a31baa14e08b26c3b63f02571280c872cabe90.tar.gz
Import ACPICA 20130927.
Diffstat (limited to 'source/common/adfile.c')
-rw-r--r--source/common/adfile.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/common/adfile.c b/source/common/adfile.c
index dc1f0a2..48ff89f 100644
--- a/source/common/adfile.c
+++ b/source/common/adfile.c
@@ -288,7 +288,6 @@ FlSplitInputPathname (
*OutDirectoryPath = NULL;
- *OutFilename = NULL;
if (!InputPath)
{
@@ -334,6 +333,10 @@ FlSplitInputPathname (
}
*OutDirectoryPath = DirectoryPath;
- *OutFilename = Filename;
+
+ if (OutFilename)
+ {
+ *OutFilename = Filename;
+ }
return (AE_OK);
}
OpenPOWER on IntegriCloud