From 244793a80a34d8b3ae3062850f9e86098af42005 Mon Sep 17 00:00:00 2001 From: Nathan Houghton Date: Mon, 11 Nov 2019 22:37:39 -0800 Subject: [PATCH] Fix _psutil_bsd.c compile error on OpenBSD --- psutil/_psutil_bsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psutil/_psutil_bsd.c b/psutil/_psutil_bsd.c index b4264ceb7..33bb0c2df 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)