libmisc: Fix rtems_print_buffer

Closes #3684
This commit is contained in:
Chris Johns
2019-02-02 15:22:04 +11:00
parent 568490a054
commit 2d8a9c794c

View File

@@ -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(' ');
}