diff options
Diffstat (limited to 'src/tools/chdman.c')
-rw-r--r-- | src/tools/chdman.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/chdman.c b/src/tools/chdman.c index 3433faa16d7..bea8f1a796d 100644 --- a/src/tools/chdman.c +++ b/src/tools/chdman.c @@ -2619,18 +2619,18 @@ static void do_dump_metadata(parameters_t ¶ms) file_error filerr = core_fopen(*output_file_str, OPEN_FLAG_WRITE | OPEN_FLAG_CREATE, &output_file); if (filerr != FILERR_NONE) report_error(1, "Unable to open file (%s)", output_file_str->cstr()); - + // output the metadata UINT32 count = core_fwrite(output_file, buffer, buffer.count()); if (count != buffer.count()) report_error(1, "Error writing file (%s)", output_file_str->cstr()); core_fclose(output_file); - + // provide some feedback astring tempstr; printf("File (%s) written, %s bytes\n", output_file_str->cstr(), big_int_string(tempstr, buffer.count())); } - + // flush to stdout else { |