diff options
author | Chris Johns <chrisj@rtems.org> | 2019-02-02 15:22:04 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-02-09 10:06:33 +1100 |
commit | 2d8a9c794cb108149b6187afd2bdf606f88cb535 (patch) | |
tree | feb888c392fac99550ec2494c8275d541af82a0f /cpukit/libmisc/dumpbuf/dumpbuf.c | |
parent | griscv: add additional cpu configurations (diff) | |
download | rtems-2d8a9c794cb108149b6187afd2bdf606f88cb535.tar.bz2 |
libmisc: Fix rtems_print_buffer
Closes #3684
Diffstat (limited to '')
-rw-r--r-- | cpukit/libmisc/dumpbuf/dumpbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/dumpbuf/dumpbuf.c b/cpukit/libmisc/dumpbuf/dumpbuf.c index a27d685f72..ed4868cdb4 100644 --- a/cpukit/libmisc/dumpbuf/dumpbuf.c +++ b/cpukit/libmisc/dumpbuf/dumpbuf.c @@ -88,7 +88,7 @@ static void Dump_Line(const unsigned char *buffer, const unsigned int length) unsigned char c = buffer[i]; rtems_putc(hexlist[(c >> 4) & 0xf]); - rtems_putc(hexlist[0xf]); + rtems_putc(hexlist[c & 0xf]); rtems_putc(' '); } |