Changeset ae0300b5 in mainline


Ignore:
Timestamp:
2011-01-27T19:46:20Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
007e6efa, 2b96463, 7a56e33e
Parents:
f579760
Message:

fix wrong formatting arguments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/thread.c

    rf579760 rae0300b5  
    599599#ifdef __32_BITS__
    600600        if (*additional)
    601                 printf("%-8 %10p" PRIu64" %10p %9" PRIu64 "%c %9" PRIu64 "%c ",
     601                printf("%-8" PRIu64 " %10p %10p %9" PRIu64 "%c %9" PRIu64 "%c ",
    602602                    thread->tid, thread->thread_code, thread->kstack,
    603603                    ucycles, usuffix, kcycles, ksuffix);
    604604        else
    605                 printf("%-8" PRIu64" %-14s %10p %-8s %10p %-5" PRIu32 "\n",
     605                printf("%-8" PRIu64 " %-14s %10p %-8s %10p %-5" PRIu32 "\n",
    606606                    thread->tid, name, thread, thread_states[thread->state],
    607                     thread->task, thread->task->context, thread->thread_code);
     607                    thread->task, thread->task->context);
    608608#endif
    609609       
    610610#ifdef __64_BITS__
    611611        if (*additional)
    612                 printf("%-8" PRIu64" %18p %18p\n"
     612                printf("%-8" PRIu64 " %18p %18p\n"
    613613                    "         %9" PRIu64 "%c %9" PRIu64 "%c ",
    614614                    thread->tid, thread->thread_code, thread->kstack,
    615615                    ucycles, usuffix, kcycles, ksuffix);
    616616        else
    617                 printf("%-8" PRIu64" %-14s %18p %-8s %18p %-5" PRIu32 "\n",
     617                printf("%-8" PRIu64 " %-14s %18p %-8s %18p %-5" PRIu32 "\n",
    618618                    thread->tid, name, thread, thread_states[thread->state],
    619619                    thread->task, thread->task->context);
Note: See TracChangeset for help on using the changeset viewer.