Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset fce3536 in mainline


Ignore:
Timestamp:
2010-04-18T09:55:20Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
80bfb601
Parents:
a80687e5
Message:

Fix uptime output format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/uptime/uptime.c

    ra80687e5 rfce3536  
    5959       
    6060        sysarg_t uptime = get_stats_uptime();
    61         printf(", up %u days, %02u:%02u:%02u", uptime / DAY,
     61        printf(", up %u days, %u hours %u minutes, %u seconds", uptime / DAY,
    6262            (uptime % DAY) / HOUR, (uptime % HOUR) / MINUTE, uptime % MINUTE);
    6363       
     
    6565        load_t *load = get_stats_load(&count);
    6666        if (load != NULL) {
    67                 printf(", load avarage: ");
     67                printf(", load average: ");
    6868               
    6969                size_t i;
Note: See TracChangeset for help on using the changeset viewer.