diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-10-05 23:35:09 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-10-05 23:35:09 +0200 |
commit | 80efb76212cf7f594e79b8909df77b9966790655 (patch) | |
tree | 4cc903ac458d4f692b50b0aa085d518beef7776f /psutil/_psutil_linux.c | |
parent | ff1a204a7a3847ff2c9c2ea963202d94c418c8e8 (diff) | |
download | psutil-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.c | 2 |
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)", |