Module Name: src Committed By: pooka Date: Mon May 20 10:24:26 UTC 2013
Modified Files: src/sys/rump/net/lib/libvirtif: rumpcomp_user.c Log Message: Return 0 for success instead of returning an uninitialized automatic variable. from Gal Sagie, PR 47837 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/rump/net/lib/libvirtif/rumpcomp_user.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/net/lib/libvirtif/rumpcomp_user.c diff -u src/sys/rump/net/lib/libvirtif/rumpcomp_user.c:1.5 src/sys/rump/net/lib/libvirtif/rumpcomp_user.c:1.6 --- src/sys/rump/net/lib/libvirtif/rumpcomp_user.c:1.5 Tue Apr 30 12:39:21 2013 +++ src/sys/rump/net/lib/libvirtif/rumpcomp_user.c Mon May 20 10:24:26 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpcomp_user.c,v 1.5 2013/04/30 12:39:21 pooka Exp $ */ +/* $NetBSD: rumpcomp_user.c,v 1.6 2013/05/20 10:24:26 pooka Exp $ */ /* * Copyright (c) 2013 Antti Kantee. All Rights Reserved. @@ -114,6 +114,7 @@ rumpcomp_virtif_create(int devnum, struc goto out; } viu->viu_dying = 0; + rv = 0; out: rumpuser_component_schedule(cookie);