diff options
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"); } |
