summaryrefslogtreecommitdiff
path: root/qgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'qgroup.c')
-rw-r--r--qgroup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/qgroup.c b/qgroup.c
index 3269feb2..2cfd6dbd 100644
--- a/qgroup.c
+++ b/qgroup.c
@@ -1072,8 +1072,7 @@ static int __qgroups_search(int fd, struct qgroup_lookup *qgroup_lookup)
error("can't list qgroups: quotas not enabled");
ret = -ENOTTY;
} else {
- error("can't list qgroups: %s",
- strerror(errno));
+ error("can't list qgroups: %m");
ret = -errno;
}