diff options
Diffstat (limited to 'src/usr/util/runtime/rt_cmds.C')
| -rw-r--r-- | src/usr/util/runtime/rt_cmds.C | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/util/runtime/rt_cmds.C b/src/usr/util/runtime/rt_cmds.C index ce7df1daf..4ce0f9a11 100644 --- a/src/usr/util/runtime/rt_cmds.C +++ b/src/usr/util/runtime/rt_cmds.C @@ -471,8 +471,14 @@ void cmd_readwritevpd(char*& o_output, DeviceFW::OperationType i_rtCmd, size_t i(0); for (; i < l_dataVec.size() -1; ++i ) { + if( i % 4 == 0 ) + { + sprintf(&o_output[l_len],"\n"); + l_len = strlen(o_output); + } + l_tempValue = l_dataVec[i]; - sprintf(&o_output[l_len],"\n%.8X ",(uint32_t)(l_tempValue>>32)); + sprintf(&o_output[l_len],"%.8X ",(uint32_t)(l_tempValue>>32)); l_len = strlen(o_output); sprintf(&o_output[l_len],"%.8X",(uint32_t)(l_tempValue)); |

