From: Justin Pettit Date: Fri, 15 Jan 2010 02:06:33 +0000 (-0800) Subject: ovs-vsctl: Don't mask timeout argument X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1626118f265eb7bdaeaa23a1d5c9228503eaaf02;p=openvswitch ovs-vsctl: Don't mask timeout argument ovs-vsctl supports the "--timeout" option, which specifies the amount of time that the operation is allowed to take before a SIGALRM is raised. The code that parsed options had a local "timeout" that masked the global one that was supposed to be set. --- diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index 725988a5..ab3005c2 100644 --- a/utilities/ovs-vsctl.c +++ b/utilities/ovs-vsctl.c @@ -171,7 +171,6 @@ parse_options(int argc, char *argv[]) for (;;) { - unsigned long int timeout; int c; c = getopt_long(argc, argv, "+v::hVt:", long_options, NULL);