Changeset cd8ad52 in mainline for kernel/test/mm/slab2.c


Ignore:
Timestamp:
2008-06-03T14:58:05Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b63f8569
Parents:
7ac426e
Message:

proper printf formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/slab2.c

    r7ac426e rcd8ad52  
    151151       
    152152        if (!sh_quiet)
    153                 printf("Starting thread #%llu...\n",THREAD->tid);
     153                printf("Starting thread #%" PRIu64 "...\n", THREAD->tid);
    154154
    155155        /* Alloc all */
    156156        if (!sh_quiet)
    157                 printf("Thread #%llu allocating...\n", THREAD->tid);
     157                printf("Thread #%" PRIu64 " allocating...\n", THREAD->tid);
    158158       
    159159        while (1) {
     
    167167       
    168168        if (!sh_quiet)
    169                 printf("Thread #%llu releasing...\n", THREAD->tid);
     169                printf("Thread #%" PRIu64 " releasing...\n", THREAD->tid);
    170170       
    171171        while (data) {
     
    177177       
    178178        if (!sh_quiet)
    179                 printf("Thread #%llu allocating...\n", THREAD->tid);
     179                printf("Thread #%" PRIu64 " allocating...\n", THREAD->tid);
    180180       
    181181        while (1) {
     
    189189       
    190190        if (!sh_quiet)
    191                 printf("Thread #%llu releasing...\n", THREAD->tid);
     191                printf("Thread #%" PRIu64 " releasing...\n", THREAD->tid);
    192192       
    193193        while (data) {
     
    199199       
    200200        if (!sh_quiet)
    201                 printf("Thread #%llu finished\n", THREAD->tid);
     201                printf("Thread #%" PRIu64 " finished\n", THREAD->tid);
    202202       
    203203        slab_print_list();
Note: See TracChangeset for help on using the changeset viewer.