From 206ae800ddc5fdbcb4aa78a77adf86c7c733cee5 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 6 Jan 2017 13:47:07 +0100 Subject: [PATCH] btrfs-progs: mkfs: print device name while trimming Signed-off-by: David Sterba --- utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.c b/utils.c index 06c90c7..26493c5 100644 --- a/utils.c +++ b/utils.c @@ -1869,8 +1869,8 @@ int btrfs_prepare_device(int fd, const char *file, u64 *block_count_ret, */ if (discard_range(fd, 0, 0) == 0) { if (opflags & PREP_DEVICE_VERBOSE) - printf("Performing full device TRIM (%s) ...\n", - pretty_size(block_count)); + printf("Performing full device TRIM %s (%s) ...\n", + file, pretty_size(block_count)); discard_blocks(fd, 0, block_count); } } -- 2.7.4