user-runtime-dir: Log the quota limit in the warning message on failure

This commit is contained in:
Daan De Meyer
2025-02-03 09:48:35 +01:00
parent 2e326aad7f
commit 7ebe910c88

View File

@@ -284,7 +284,7 @@ static int apply_tmpfs_quota(
log_debug_errno(r, "Lacking privileges to set UID quota on %s, skipping: %m", *p);
continue;
} else if (r < 0) {
log_warning_errno(r, "Failed to set disk quota on %s for UID " UID_FMT ", ignoring: %m", *p, uid);
log_warning_errno(r, "Failed to set disk quota limit to '%s' on %s for UID " UID_FMT ", ignoring: %m", FORMAT_BYTES(v), *p, uid);
continue;
}