summaryrefslogtreecommitdiff
path: root/psutil/_psutil_osx.c
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/_psutil_osx.c')
-rw-r--r--psutil/_psutil_osx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/_psutil_osx.c b/psutil/_psutil_osx.c
index ab43871f..ed29b33b 100644
--- a/psutil/_psutil_osx.c
+++ b/psutil/_psutil_osx.c
@@ -1579,11 +1579,11 @@ psutil_users(PyObject *self, PyObject *args) {
if (! py_hostname)
goto error;
py_tuple = Py_BuildValue(
- "(OOOfi)",
+ "(OOOdi)",
py_username, // username
py_tty, // tty
py_hostname, // hostname
- (float)utx->ut_tv.tv_sec, // start time
+ (double)utx->ut_tv.tv_sec, // start time
utx->ut_pid // process id
);
if (!py_tuple) {