summaryrefslogtreecommitdiff
path: root/w.c
diff options
context:
space:
mode:
authorCraig Small <csmall@enc.com.au>2015-06-29 22:09:59 +1000
committerCraig Small <csmall@enc.com.au>2015-06-29 22:09:59 +1000
commit639daf546852e4cd0324c88c15eeea0d8bd1796d (patch)
treed414629ae1c0b237ead573625c2925b947e918d8 /w.c
parent56399212c86846ff3b19739db154ccefa13f1546 (diff)
downloadprocps-ng-639daf546852e4cd0324c88c15eeea0d8bd1796d.tar.gz
library: Update uptime calls to standard format
Changed all the uptime related functions to use the standard naming procps_uptime_*
Diffstat (limited to 'w.c')
-rw-r--r--w.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/w.c b/w.c
index 4aff8fb..bf92155 100644
--- a/w.c
+++ b/w.c
@@ -586,7 +586,7 @@ int main(int argc, char **argv)
if (header) {
/* print uptime and headers */
- printf("%s\n", sprint_uptime());
+ printf("%s\n", procps_uptime_sprint());
/* Translation Hint: Following five uppercase messages are
* headers. Try to keep alignment intact. */
printf(_("%-*s TTY "), userlen, _("USER"));