Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2014 18:23:48 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r268951 - stable/10/usr.sbin/bhyvectl
Message-ID:  <201407211823.s6LINmqR066302@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Mon Jul 21 18:23:48 2014
New Revision: 268951
URL: http://svnweb.freebsd.org/changeset/base/268951

Log:
  MFC 264275:
  Explicitly initialize 'vmname' to NULL.

Modified:
  stable/10/usr.sbin/bhyvectl/bhyvectl.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/bhyvectl/bhyvectl.c
==============================================================================
--- stable/10/usr.sbin/bhyvectl/bhyvectl.c	Mon Jul 21 18:13:14 2014	(r268950)
+++ stable/10/usr.sbin/bhyvectl/bhyvectl.c	Mon Jul 21 18:23:48 2014	(r268951)
@@ -574,6 +574,7 @@ main(int argc, char *argv[])
 	};
 
 	vcpu = 0;
+	vmname = NULL;
 	assert_lapic_lvt = -1;
 	progname = basename(argv[0]);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407211823.s6LINmqR066302>