summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Houghton <nathan@brainwerk.org>2019-11-12 03:59:49 -0800
committerGiampaolo Rodola <g.rodola@gmail.com>2019-11-12 19:59:49 +0800
commitef032158fd72790ab2be14e99c45c32d66d96291 (patch)
tree41a58517bc129810e5c4dead49031438357518e1
parentb17eda56735b1e93a907355b4436f118d1333a37 (diff)
downloadpsutil-ef032158fd72790ab2be14e99c45c32d66d96291.tar.gz
Fix _psutil_bsd.c compile error on OpenBSD (#1619)
-rw-r--r--psutil/_psutil_bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_psutil_bsd.c b/psutil/_psutil_bsd.c
index b4264ceb..33bb0c2d 100644
--- a/psutil/_psutil_bsd.c
+++ b/psutil/_psutil_bsd.c
@@ -1040,7 +1040,7 @@ static PyMethodDef mod_methods[] = {
if (PyModule_AddIntConstant(mod, "SRUN", SRUN)) INITERR;
if (PyModule_AddIntConstant(mod, "SSLEEP", SSLEEP)) INITERR;
if (PyModule_AddIntConstant(mod, "SSTOP", SSTOP)) INITERR;
- if (PyModule_AddIntConstant(mod, "SZOMB", SZOMB); INITERR; // unused
+ if (PyModule_AddIntConstant(mod, "SZOMB", SZOMB)) INITERR; // unused
if (PyModule_AddIntConstant(mod, "SDEAD", SDEAD)) INITERR;
if (PyModule_AddIntConstant(mod, "SONPROC", SONPROC)) INITERR;
#elif defined(PSUTIL_NETBSD)