summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 2ddcebc..4a991f9 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1914,7 +1914,7 @@ posix_getlogin(PyObject *self, PyObject *args)
posix_error();
else
PyErr_SetString(PyExc_OSError,
- "unexpected NULL from getlogin()");
+ "unable to determine login name");
}
else
result = PyString_FromString(name);