summaryrefslogtreecommitdiff
path: root/cmds-qgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-qgroup.c')
-rw-r--r--cmds-qgroup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmds-qgroup.c b/cmds-qgroup.c
index 7234bdc1..10859c82 100644
--- a/cmds-qgroup.c
+++ b/cmds-qgroup.c
@@ -380,8 +380,7 @@ static int cmd_qgroup_show(int argc, char **argv)
if (sync) {
err = btrfs_util_sync_fd(fd);
if (err)
- warning("sync ioctl failed on '%s': %s", path,
- strerror(errno));
+ warning("sync ioctl failed on '%s': %m", path);
}
if (filter_flag) {