]> granicus.if.org Git - jq/commitdiff
These vfprintfs are being used as if they were printfs. Fix that 233/head
authorDavid R. MacIver <david@drmaciver.com>
Sun, 8 Dec 2013 20:08:04 +0000 (20:08 +0000)
committerDavid R. MacIver <david@drmaciver.com>
Sun, 8 Dec 2013 20:08:04 +0000 (20:08 +0000)
locfile.c

index 48cacd6fca4d91cca6e4e78570781c4b2f0d06b8..39343dbf5367bea31a9b8f1e701b2ab82296ad8d 100644 (file)
--- a/locfile.c
+++ b/locfile.c
@@ -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;
 }