diff options
Diffstat (limited to 'psutil/_psutil_bsd.c')
-rw-r--r-- | psutil/_psutil_bsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/_psutil_bsd.c b/psutil/_psutil_bsd.c index 1ffa7b00..c2de7c91 100644 --- a/psutil/_psutil_bsd.c +++ b/psutil/_psutil_bsd.c @@ -966,11 +966,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)ut.ut_time, // start time + (double)ut.ut_time, // start time #if defined(PSUTIL_OPENBSD) || (defined(__FreeBSD_version) && __FreeBSD_version < 900000) -1 // process id (set to None later) #else |