import: use SYNTHETIC_ERRNO in one more place

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-07-09 11:11:25 +02:00
parent 2b59bf51a0
commit 22fd4a8f85
+1 -2
View File
@@ -502,8 +502,7 @@ static size_t pull_job_header_callback(void *contents, size_t size, size_t nmemb
if (j->content_length != UINT64_MAX) {
if (j->content_length > j->compressed_max) {
log_error("Content too large.");
r = -EFBIG;
r = log_error_errno(SYNTHETIC_ERRNO(EFBIG), "Content too large.");
goto fail;
}