btrfs-progs: print error within test_num_disk_vs_raid
authorDavid Sterba <dsterba@suse.cz>
Wed, 10 Jun 2015 22:51:15 +0000 (00:51 +0200)
committerDavid Sterba <dsterba@suse.cz>
Wed, 10 Jun 2015 22:51:15 +0000 (00:51 +0200)
commit4ceffd0927360c83bec94606112b4e59cb7d2d73
treee68e184aeca6626d4e1ed78c6ba79e1fb33a0956
parentc848046eb984fcbeeb78d681bf483aefbb35a013
btrfs-progs: print error within test_num_disk_vs_raid

The error string buffer passed as an argument is of a fixed size, though
we could print up to PATH_MAX + something bytes. Print the error message
directly.

Signed-off-by: David Sterba <dsterba@suse.cz>
mkfs.c
utils.c
utils.h