From 591ad8a7bfa0a08902433c7ada1bf9a7f90cff33 Mon Sep 17 00:00:00 2001 From: Michel Machado Date: Fri, 13 Nov 2015 14:37:42 -0500 Subject: [PATCH] f3probe: add a blank line when --destructive is used When option --destructive was being used, f3probe was not spacing the final diagnosis message. --- f3probe.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/f3probe.c b/f3probe.c index 5d3a409..8c9664b 100644 --- a/f3probe.c +++ b/f3probe.c @@ -431,10 +431,12 @@ static int test_device(struct args *args) assert(final_dev_filename); if (args->save) - printf(" Done\n\n"); + printf(" Done\n"); + if (args->save || (!args->debug && args->reset_type == RT_MANUAL_USB)) + printf("\n"); if (strcmp(args->filename, final_dev_filename)) - printf("\nWARNING: device `%s' moved to `%s' due to the resets\n\n", + printf("WARNING: device `%s' moved to `%s' due to the resets\n\n", args->filename, final_dev_filename); fake_type = dev_param_to_type(real_size_byte, announced_size_byte,