diff options
Diffstat (limited to 'target-ppc/kvm_ppc.c')
-rw-r--r-- | target-ppc/kvm_ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/kvm_ppc.c b/target-ppc/kvm_ppc.c index 0caa5b98c7..f7ce52b045 100644 --- a/target-ppc/kvm_ppc.c +++ b/target-ppc/kvm_ppc.c @@ -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) |