summaryrefslogtreecommitdiff
path: root/psutil/_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/_common.py')
-rw-r--r--psutil/_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_common.py b/psutil/_common.py
index e83568b5..879e8477 100644
--- a/psutil/_common.py
+++ b/psutil/_common.py
@@ -83,7 +83,7 @@ WINDOWS = os.name == "nt"
LINUX = sys.platform.startswith("linux")
MACOS = sys.platform.startswith("darwin")
OSX = MACOS # deprecated alias
-FREEBSD = sys.platform.startswith("freebsd")
+FREEBSD = sys.platform.startswith(("freebsd", "midnightbsd"))
OPENBSD = sys.platform.startswith("openbsd")
NETBSD = sys.platform.startswith("netbsd")
BSD = FREEBSD or OPENBSD or NETBSD