summaryrefslogtreecommitdiff
path: root/psutil/_psutil_linux.c
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2016-10-05 23:35:09 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2016-10-05 23:35:09 +0200
commit80efb76212cf7f594e79b8909df77b9966790655 (patch)
tree4cc903ac458d4f692b50b0aa085d518beef7776f /psutil/_psutil_linux.c
parentff1a204a7a3847ff2c9c2ea963202d94c418c8e8 (diff)
downloadpsutil-80efb76212cf7f594e79b8909df77b9966790655.tar.gz
change wording when raising RuntimeError from C (add 'syscall' term)
Diffstat (limited to 'psutil/_psutil_linux.c')
-rw-r--r--psutil/_psutil_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_psutil_linux.c b/psutil/_psutil_linux.c
index e6c43518..c9be53d4 100644
--- a/psutil/_psutil_linux.c
+++ b/psutil/_psutil_linux.c
@@ -208,7 +208,7 @@ psutil_disk_partitions(PyObject *self, PyObject *args) {
while ((entry = getmntent(file))) {
if (entry == NULL) {
- PyErr_Format(PyExc_RuntimeError, "getmntent() failed");
+ PyErr_Format(PyExc_RuntimeError, "getmntent() syscall failed");
goto error;
}
py_tuple = Py_BuildValue("(ssss)",