From: Justin Pettit Date: Wed, 16 Apr 2008 23:49:42 +0000 (-0700) Subject: Fix call from vfprintf to fprintf, which could cause seg faults. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=928a5ae0c1c02b9b60bb2ed3016ed33c4eb1860e;p=openvswitch Fix call from vfprintf to fprintf, which could cause seg faults. --- diff --git a/utilities/dpctl.c b/utilities/dpctl.c index a3a2c9bd..d79bf00c 100644 --- a/utilities/dpctl.c +++ b/utilities/dpctl.c @@ -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);