Changeset 5796c21 in rtems


Ignore:
Timestamp:
Apr 24, 2017, 1:05:53 AM (2 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
38d0a94
Parents:
3f12cfe
git-author:
Joel Sherrill <joel@…> (04/24/17 01:05:53)
git-committer:
Joel Sherrill <joel@…> (04/24/17 17:00:56)
Message:

shared/startup/panic.c: Fix printf() format warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/startup/panic.c

    r3f12cfe r5796c21  
    88#include <rtems/score/percpu.h>
    99#include <rtems/score/threaddispatch.h>
     10
     11#include <inttypes.h>
    1012
    1113static void
     
    6163  else
    6264    printk(
    63       "  Error occurred in a Thread Dispatching DISABLED context (level %i)\n",
     65      "  Error occurred in a Thread Dispatching DISABLED"
     66      "  context (level %" PRIu32 ")\n",
    6467      _Thread_Dispatch_get_disable_level());
    6568
    6669  if ( _ISR_Nest_level ) {
    6770    printk(
    68       "  Error occurred from ISR context (ISR nest level %i)\n",
     71      "  Error occurred from ISR context (ISR nest level %" PRIu32 ")\n",
    6972      _ISR_Nest_level
    7073    );
Note: See TracChangeset for help on using the changeset viewer.