* [Qemu-devel] [6327] powerpc/kvm: Fix a uninitialized bug (Liu Yu)
@ 2009-01-15 21:18 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-01-15 21:18 UTC (permalink / raw)
To: qemu-devel
Revision: 6327
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6327
Author: aliguori
Date: 2009-01-15 21:18:42 +0000 (Thu, 15 Jan 2009)
Log Message:
-----------
powerpc/kvm: Fix a uninitialized bug (Liu Yu)
Signed-off-by: Liu Yu <yu.liu@freescale.com>
Acked-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
trunk/target-ppc/kvm_ppc.c
Modified: trunk/target-ppc/kvm_ppc.c
===================================================================
--- trunk/target-ppc/kvm_ppc.c 2009-01-15 21:13:33 UTC (rev 6326)
+++ trunk/target-ppc/kvm_ppc.c 2009-01-15 21:18:42 UTC (rev 6327)
@@ -27,7 +27,7 @@
{
char *path;
FILE *f;
- int ret;
+ int ret = 0;
int pathlen;
pathlen = snprintf(NULL, 0, "%s/%s/%s", PROC_DEVTREE_PATH, node_path, prop)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-15 21:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 21:18 [Qemu-devel] [6327] powerpc/kvm: Fix a uninitialized bug (Liu Yu) Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).