These vfprintfs are being used as if they were printfs. Fix that

This commit is contained in:
David R. MacIver committed 2013-12-08 20:08:04 +00:00
1 parent 3a1dab5396
commit f6f7d4d973
1 file changed
+2 -2
+2 -2
View File
@@ -96,8 +96,8 @@ enomem:
if (cb != NULL)
cb(cb_data, jv_invalid());
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
vfprintf(stderr, "Error formatting jq compilation error: %s", strerror(errno));
fprintf(stderr, "Error formatting jq compilation error: %s", strerror(errno));
return;
}