summaryrefslogtreecommitdiff
path: root/psutil/_psutil_sunos.c
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/_psutil_sunos.c')
-rw-r--r--psutil/_psutil_sunos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/psutil/_psutil_sunos.c b/psutil/_psutil_sunos.c
index 42a1ffe8..84bf1c40 100644
--- a/psutil/_psutil_sunos.c
+++ b/psutil/_psutil_sunos.c
@@ -124,7 +124,7 @@ psutil_proc_basic_info(PyObject *self, PyObject *args) {
}
/*
- * Join array of C strings to C string with delemiter dm.
+ * Join array of C strings to C string with delimiter dm.
* Omit empty records.
*/
static int
@@ -1255,7 +1255,7 @@ psutil_net_connections(PyObject *self, PyObject *args) {
lport = tp.tcpConnLocalPort;
rport = tp.tcpConnRemPort;
- // contruct python tuple/list
+ // construct python tuple/list
py_laddr = Py_BuildValue("(si)", lip, lport);
if (!py_laddr)
goto error;
@@ -1300,7 +1300,7 @@ psutil_net_connections(PyObject *self, PyObject *args) {
lport = tp6.tcp6ConnLocalPort;
rport = tp6.tcp6ConnRemPort;
- // contruct python tuple/list
+ // construct python tuple/list
py_laddr = Py_BuildValue("(si)", lip, lport);
if (!py_laddr)
goto error;