library: Update uptime calls to standard format

Changed all the uptime related functions to use the
standard naming procps_uptime_*
This commit is contained in:
Craig Small
2015-06-29 22:09:59 +10:00
parent 56399212c8
commit 639daf5468
8 changed files with 130 additions and 120 deletions

2
w.c
View File

@ -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"));