From c4254e957f64c8458f7a10c2f8297911c28b858a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 26 Nov 2007 21:13:35 +0000 Subject: [PATCH] 2007-11-26 Joel Sherrill * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing. --- cpukit/ChangeLog | 4 ++++ cpukit/libcsupport/src/printk.c | 2 +- cpukit/score/src/objectget.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index f4eab759ee..f624e1645b 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2007-11-26 Joel Sherrill + + * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing. + 2007-11-26 Joel Sherrill * libcsupport/src/malloc.c: Do not assert on free of bad pointer. diff --git a/cpukit/libcsupport/src/printk.c b/cpukit/libcsupport/src/printk.c index 811132d041..f32085c33a 100644 --- a/cpukit/libcsupport/src/printk.c +++ b/cpukit/libcsupport/src/printk.c @@ -103,7 +103,7 @@ vprintk(const char *fmt, va_list ap) switch (c) { case 'o': case 'O': base = 8; sign = 0; break; - case 'i': case 'I': + case 'i': case 'I': case 'd': case 'D': base = 10; sign = 1; break; case 'u': case 'U': base = 10; sign = 0; break; case 'x': case 'X': base = 16; sign = 0; break; diff --git a/cpukit/score/src/objectget.c b/cpukit/score/src/objectget.c index dd798a8976..1f51c20a4a 100644 --- a/cpukit/score/src/objectget.c +++ b/cpukit/score/src/objectget.c @@ -63,7 +63,7 @@ Objects_Control *_Objects_Get( /* index = _Objects_Get_index( id ); */ index = id & 0x0000ffff; /* This should work but doesn't always :( */ - /* index = (uint16_t ) id; */ + /* index = (uint16_t) id; */ #endif if ( information->maximum >= index ) {