Skip to content

Commit

Permalink
powerpc/kvm: Fix a uninitialized bug (Liu Yu)
Browse files Browse the repository at this point in the history
Signed-off-by: Liu Yu <[email protected]>
Acked-by: Hollis Blanchard <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6327 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
aliguori committed Jan 15, 2009
1 parent 406b430 commit 57be80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target-ppc/kvm_ppc.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static int kvmppc_read_host_property(const char *node_path, const char *prop,
{
char *path;
FILE *f;
int ret;
int ret = 0;
int pathlen;

pathlen = snprintf(NULL, 0, "%s/%s/%s", PROC_DEVTREE_PATH, node_path, prop)
Expand Down

0 comments on commit 57be80f

Please sign in to comment.