summaryrefslogtreecommitdiff
path: root/xpcom/base/nsDumpUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/base/nsDumpUtils.cpp')
-rw-r--r--xpcom/base/nsDumpUtils.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/xpcom/base/nsDumpUtils.cpp b/xpcom/base/nsDumpUtils.cpp
index 1333fdb63f..df71bde10b 100644
--- a/xpcom/base/nsDumpUtils.cpp
+++ b/xpcom/base/nsDumpUtils.cpp
@@ -324,7 +324,11 @@ FifoWatcher::OpenFd()
}
nsAutoCString path;
+#ifdef XP_WIN
+ rv = file->GetPersistentDescriptor(path);
+#else
rv = file->GetNativePath(path);
+#endif
if (NS_WARN_IF(NS_FAILED(rv))) {
return -1;
}