diff options
Diffstat (limited to 'util/nvramtool/hexdump.c')
-rw-r--r-- | util/nvramtool/hexdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvramtool/hexdump.c b/util/nvramtool/hexdump.c index 78199eb0ce..405703fe73 100644 --- a/util/nvramtool/hexdump.c +++ b/util/nvramtool/hexdump.c @@ -88,7 +88,7 @@ void hexdump(const void *mem, int bytes, uint64_t addrprint_start, * terminates, the number of remaining bytes to display (if any) * will not be enough to fill an entire line. */ - for (bytes_left = bytes; + for (bytes_left = bytes; bytes_left >= format->bytes_per_line; bytes_left -= format->bytes_per_line) { /* print start address for current line */ |