summaryrefslogtreecommitdiff
path: root/psutil/_psbsd.py
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/_psbsd.py')
-rw-r--r--psutil/_psbsd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_psbsd.py b/psutil/_psbsd.py
index 8fc256b2..b77a9d68 100644
--- a/psutil/_psbsd.py
+++ b/psutil/_psbsd.py
@@ -839,7 +839,7 @@ class Process(object):
elif NETBSD or HAS_PROC_OPEN_FILES:
# FreeBSD < 8 does not support functions based on
# kinfo_getfile() and kinfo_getvmmap()
- return cext.proc_cwd(self.pid) or None
+ return cext.proc_cwd(self.pid) or ""
else:
raise NotImplementedError(
"supported only starting from FreeBSD 8" if