diff options
Diffstat (limited to 'psutil/_psutil_linux.c')
-rw-r--r-- | psutil/_psutil_linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/_psutil_linux.c b/psutil/_psutil_linux.c index 924fe702..a6ee6025 100644 --- a/psutil/_psutil_linux.c +++ b/psutil/_psutil_linux.c @@ -392,11 +392,11 @@ psutil_users(PyObject *self, PyObject *args) { goto error; py_tuple = Py_BuildValue( - "OOOfO" _Py_PARSE_PID, + "OOOdO" _Py_PARSE_PID, py_username, // username py_tty, // tty py_hostname, // hostname - (float)ut->ut_tv.tv_sec, // tstamp + (double)ut->ut_tv.tv_sec, // tstamp py_user_proc, // (bool) user process ut->ut_pid // process id ); |