summaryrefslogtreecommitdiff
path: root/psutil/_psutil_aix.c
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/_psutil_aix.c')
-rw-r--r--psutil/_psutil_aix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/_psutil_aix.c b/psutil/_psutil_aix.c
index f5c5cc66..8a1b8de9 100644
--- a/psutil/_psutil_aix.c
+++ b/psutil/_psutil_aix.c
@@ -497,11 +497,11 @@ psutil_users(PyObject *self, PyObject *args) {
if (! py_hostname)
goto error;
py_tuple = Py_BuildValue(
- "(OOOfOi)",
+ "(OOOdOi)",
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
);