a2dbaf7e83
When the size of input buffer is larger than 16 and not divisible by 16, the final line will keep part of the characters of the last line. For example, if I want to dump "spdk dump 16 more chars",the output is: 00000000 "hexadecimal" spdk dump 16 mor 00000010 "hexadecimal" e charsmp 16 mor But the correct should be: 00000000 "hexadecimal" spdk dump 16 mor 00000010 "hexadecimal" e chars Signed-off-by: Richael Zhuang <richael.zhuang@arm.com> Change-Id: Iaf3f33c5ce68920ada83c59277f89a547e8030d7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1739 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
log_flags.c | ||
log.c | ||
Makefile |