forked from Imagelibrary/rtems
2003-09-26 Till Strauman <strauman@slac.stanford.edu>
PR 498/rtems * src/printk.c: RTEMS printk() does not support the %i format which is used by a lot of driver/BSP etc. code. The trivial patch allows %i/%I as an alias for %d/%D.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2003-09-26 Till Strauman <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
|
PR 498/rtems
|
||||||
|
* src/printk.c: RTEMS printk() does not support the %i format which is
|
||||||
|
used by a lot of driver/BSP etc. code. The trivial patch allows %i/%I
|
||||||
|
as an alias for %d/%D.
|
||||||
|
|
||||||
2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
PR 489/rtems
|
PR 489/rtems
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ vprintk(char *fmt, va_list ap)
|
|||||||
switch (c)
|
switch (c)
|
||||||
{
|
{
|
||||||
case 'o': case 'O': base = 8; sign = 0; break;
|
case 'o': case 'O': base = 8; sign = 0; break;
|
||||||
|
case 'i': case 'I':
|
||||||
case 'd': case 'D': base = 10; sign = 1; break;
|
case 'd': case 'D': base = 10; sign = 1; break;
|
||||||
case 'u': case 'U': base = 10; sign = 0; break;
|
case 'u': case 'U': base = 10; sign = 0; break;
|
||||||
case 'x': case 'X': base = 16; sign = 0; break;
|
case 'x': case 'X': base = 16; sign = 0; break;
|
||||||
|
|||||||
Reference in New Issue
Block a user