diff options
author | David Sterba <dsterba@suse.com> | 2017-01-06 13:47:07 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-01-25 09:47:38 +0100 |
commit | 206ae800ddc5fdbcb4aa78a77adf86c7c733cee5 (patch) | |
tree | 326bcff408d006808f66a9df265d416b1157db4d /utils.c | |
parent | f49fb67a2552c14e4194b97ce34d3fbf5389a1ce (diff) |
btrfs-progs: mkfs: print device name while trimming
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } } |