summaryrefslogtreecommitdiff
path: root/psutil/_psutil_sunos.c
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng@cpan.org>2022-01-27 08:26:28 +0800
committerKian-Meng Ang <kianmeng@cpan.org>2022-01-27 08:26:28 +0800
commit471b19d2aa799cd73bded23379e864dd35bec2b6 (patch)
tree26edd4638ab349b8c685aa645fbd9fb522e0cd89 /psutil/_psutil_sunos.c
parentf716afc81d4c9ded08b23d376612e1491d3ea5da (diff)
downloadpsutil-471b19d2aa799cd73bded23379e864dd35bec2b6.tar.gz
Fix typos
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;