diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-26 21:13:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-26 21:13:35 +0000 |
commit | c4254e957f64c8458f7a10c2f8297911c28b858a (patch) | |
tree | 110c6203991dad2fd484beeb25f087293b7f21ac /cpukit | |
parent | 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-c4254e957f64c8458f7a10c2f8297911c28b858a.tar.bz2 |
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libcsupport/src/printk.c | 2 | ||||
-rw-r--r-- | 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,5 +1,9 @@ 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> + * libcsupport/src/printk.c, score/src/objectget.c: Fix spacing. + +2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> + * libcsupport/src/malloc.c: Do not assert on free of bad pointer. 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com> 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 ) { |