summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--psutil/_psutil_bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/_psutil_bsd.c b/psutil/_psutil_bsd.c
index c2de7c91..3c3f50e3 100644
--- a/psutil/_psutil_bsd.c
+++ b/psutil/_psutil_bsd.c
@@ -1016,11 +1016,11 @@ psutil_users(PyObject *self, PyObject *args) {
goto error;
py_tuple = Py_BuildValue(
- "(OOOfO)",
+ "(OOOdO)",
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
py_pid // process id
);