Changeset 8ed4014 in mainline for kernel/generic/src/synch/spinlock.c


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

proper printf formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/synch/spinlock.c

    r93a3348 r8ed4014  
    107107#endif
    108108                if (i++ > DEADLOCK_THRESHOLD) {
    109                         printf("cpu%d: looping on spinlock %.*p:%s, "
    110                             "caller=%.*p", CPU->id, sizeof(uintptr_t) * 2, sl,
    111                             sl->name, sizeof(uintptr_t) * 2, CALLER);
     109                        printf("cpu%u: looping on spinlock %" PRIp ":%s, caller=%" PRIp,
     110                                CPU->id, sl, sl->name, CALLER);
    112111                        symbol = get_symtab_entry(CALLER);
    113112                        if (symbol)
     
    120119
    121120        if (deadlock_reported)
    122                 printf("cpu%d: not deadlocked\n", CPU->id);
     121                printf("cpu%u: not deadlocked\n", CPU->id);
    123122
    124123        /*
Note: See TracChangeset for help on using the changeset viewer.