From b70f0cd981a91bead8b8e938e60c6810253794d5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 26 Nov 2007 21:13:22 +0000 Subject: 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(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 08fc49f599..f594564aa4 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 ) { -- cgit v1.2.3