projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial support for USB, UHCI, and USB Keyboards.
[seabios.git]
/
src
/
output.c
diff --git
a/src/output.c
b/src/output.c
index da585b4f35b18f9266cb17ea93db4bf4831b0d15..28cb024bf572e0037dbbb84c1161055d9b84b696 100644
(file)
--- a/
src/output.c
+++ b/
src/output.c
@@
-296,10
+296,10
@@
printf(const char *fmt, ...)
}
void
-hexdump(void *d, int len)
+hexdump(
const
void *d, int len)
{
int count=0;
- while (len) {
+ while (len
> 0
) {
if (count % 8 == 0) {
putc(0, '\n');
puthex(0, count*4, 8);