diff options
| author | Tom Rhodes <trhodes@FreeBSD.org> | 2005-12-24 22:22:17 +0000 |
|---|---|---|
| committer | Tom Rhodes <trhodes@FreeBSD.org> | 2005-12-24 22:22:17 +0000 |
| commit | 09c00166e46fe394db30efb6fc982761b2fb7b82 (patch) | |
| tree | 99de98c38a690d4ece3fe809f6493bae7a25e39b /sys/fs/procfs/procfs_status.c | |
| parent | aefc1eb3325e47d4ce73e14c085addd60aa2ef84 (diff) | |
Notes
Diffstat (limited to 'sys/fs/procfs/procfs_status.c')
| -rw-r--r-- | sys/fs/procfs/procfs_status.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/fs/procfs/procfs_status.c b/sys/fs/procfs/procfs_status.c index 1579037166b2..95f2b1792616 100644 --- a/sys/fs/procfs/procfs_status.c +++ b/sys/fs/procfs/procfs_status.c @@ -132,10 +132,10 @@ procfs_doprocstatus(PFS_FILL_ARGS) calcru(p, &ut, &st); start = p->p_stats->p_start; timevaladd(&start, &boottime); - sbuf_printf(sb, " %ld,%ld %ld,%ld %ld,%ld", - start.tv_sec, start.tv_usec, - ut.tv_sec, ut.tv_usec, - st.tv_sec, st.tv_usec); + sbuf_printf(sb, " %jd,%ld %jd,%ld %jd,%ld", + (intmax_t)start.tv_sec, start.tv_usec, + (intmax_t)ut.tv_sec, ut.tv_usec, + (intmax_t)st.tv_sec, st.tv_usec); } else { sbuf_printf(sb, " -1,-1 -1,-1 -1,-1"); } |
