Fix call from vfprintf to fprintf, which could cause seg faults.
[sliver-openvswitch.git] / utilities / dpctl.c
index a3a2c9b..d79bf00 100644 (file)
@@ -197,7 +197,7 @@ static void run(int retval, const char *message, ...)
         if (retval == EOF) {
             fputs(": unexpected end of file\n", stderr);
         } else {
-            vfprintf(stderr, ": %s\n", strerror(retval));
+            fprintf(stderr, ": %s\n", strerror(retval));
         }
 
         exit(EXIT_FAILURE);