These vfprintfs are being used as if they were printfs. Fix that
This commit is contained in:
1 parent
3a1dab5396
commit
f6f7d4d973
1 file changed
+2
-2
@@ -96,8 +96,8 @@ enomem:
|
|||||||
if (cb != NULL)
|
if (cb != NULL)
|
||||||
cb(cb_data, jv_invalid());
|
cb(cb_data, jv_invalid());
|
||||||
else if (errno == ENOMEM || errno == 0)
|
else if (errno == ENOMEM || errno == 0)
|
||||||
vfprintf(stderr, "Error formatting jq compilation error: %s", strerror(errno ? errno : ENOMEM));
|
fprintf(stderr, "Error formatting jq compilation error: %s", strerror(errno ? errno : ENOMEM));
|
||||||
else
|
else
|
||||||
vfprintf(stderr, "Error formatting jq compilation error: %s", strerror(errno));
|
fprintf(stderr, "Error formatting jq compilation error: %s", strerror(errno));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user