blobcli: fix formatting with astyle 3.0

Change-Id: Ib6052a9239cac14fdefc74eada39067f2b042672
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/380680
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
Daniel Verkamp 2017-09-28 10:22:25 -07:00
parent 7e846d2bb9
commit b0c91df8e7

View File

@ -706,14 +706,14 @@ dmpimp_open_cb(void *cb_arg, struct spdk_blob *blob, int bserrno)
cli_context->blob_pages = spdk_blob_get_num_pages(cli_context->blob);
cli_context->page_count = 0;
if (cli_context->action == CLI_DUMP) {
cli_context->fp = fopen(cli_context->file , "w");
cli_context->fp = fopen(cli_context->file, "w");
/* read a page of data from the blob */
spdk_bs_io_read_blob(cli_context->blob, cli_context->channel,
cli_context->buff, cli_context->page_count,
1, read_dump_complete, cli_context);
} else {
cli_context->fp = fopen(cli_context->file , "r");
cli_context->fp = fopen(cli_context->file, "r");
/* get the filesize then rewind read a page of data from file */
fseek(cli_context->fp, 0L, SEEK_END);