From dddc3e08cbf87c1ab06f4fa55a108e538db42f8b Mon Sep 17 00:00:00 2001 From: David Sterba Date: Wed, 13 Jan 2016 18:14:32 +0100 Subject: btrfs-progs: more verbose errors from test_issubvolume Signed-off-by: David Sterba --- cmds-qgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds-qgroup.c') diff --git a/cmds-qgroup.c b/cmds-qgroup.c index eca4464..db5ee21 100644 --- a/cmds-qgroup.c +++ b/cmds-qgroup.c @@ -434,7 +434,7 @@ static int cmd_qgroup_limit(int argc, char **argv) path = argv[optind + 1]; ret = test_issubvolume(path); if (ret < 0) { - error("cannot access '%s'", path); + error("cannot access '%s': %s", path, strerror(-ret)); return 1; } if (!ret) { -- cgit v1.2.1