diff options
author | Ed Maste <emaste@FreeBSD.org> | 2012-11-19 18:18:24 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2012-11-19 18:18:24 +0000 |
commit | c1483ecdb452d5a75601cf4484511e2cf8b56989 (patch) | |
tree | d5332116b3e36fb85bcd2c197a78c5773aea0c49 /usr.bin/w | |
parent | cc5d52437a0ca490e0559d0936dd1edf2859bd50 (diff) | |
download | src-test2-c1483ecdb452d5a75601cf4484511e2cf8b56989.tar.gz src-test2-c1483ecdb452d5a75601cf4484511e2cf8b56989.zip |
Notes
Diffstat (limited to 'usr.bin/w')
-rw-r--r-- | usr.bin/w/w.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c index 0331287a519e..2df910790955 100644 --- a/usr.bin/w/w.c +++ b/usr.bin/w/w.c @@ -448,7 +448,7 @@ pr_header(time_t *nowp, int nusers) /* * Print how long system has been up. */ - if (clock_gettime(CLOCK_MONOTONIC, &tp) != -1) { + if (clock_gettime(CLOCK_UPTIME, &tp) != -1) { uptime = tp.tv_sec; if (uptime > 60) uptime += 30; |