Changeset 7e752b2 in mainline for uspace/app/tasks/tasks.c


Ignore:
Timestamp:
2010-11-26T01:33:20Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf61d3a
Parents:
202f57b
Message:
  • correct printf() formatting strings and corresponding arguments
  • minor cstyle changes and other small fixes
File:
1 edited

Legend:

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

    r202f57b r7e752b2  
    7777                order_suffix(stats_tasks[i].kcycles, &kcycles, &ksuffix);
    7878               
    79                 printf("%8" PRIu64 "%8u %8" PRIu64"%c %12"
     79                printf("%8" PRIu64 "%8zu %8" PRIu64 "%c %12"
    8080                    PRIu64 "%c %12" PRIu64 "%c %s\n", stats_tasks[i].task_id,
    8181                    stats_tasks[i].threads, virtmem, vmsuffix, ucycles, usuffix,
     
    160160        }
    161161       
    162         printf("%s: %u CPU(s) detected\n", NAME, count);
     162        printf("%s: %zu CPU(s) detected\n", NAME, count);
    163163       
    164164        size_t i;
Note: See TracChangeset for help on using the changeset viewer.