Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/net/lib/libvirtif Return 0 for success instead of r...
details: https://anonhg.NetBSD.org/src/rev/7bb75e2fd4cc
branches: trunk
changeset: 786904:7bb75e2fd4cc
user: pooka <pooka%NetBSD.org@localhost>
date: Mon May 20 10:24:26 2013 +0000
description:
Return 0 for success instead of returning an uninitialized automatic variable.
from Gal Sagie, PR 47837
diffstat:
sys/rump/net/lib/libvirtif/rumpcomp_user.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 647439b6b40b -r 7bb75e2fd4cc sys/rump/net/lib/libvirtif/rumpcomp_user.c
--- a/sys/rump/net/lib/libvirtif/rumpcomp_user.c Mon May 20 09:31:31 2013 +0000
+++ b/sys/rump/net/lib/libvirtif/rumpcomp_user.c Mon May 20 10:24:26 2013 +0000
@@ -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 @@
goto out;
}
viu->viu_dying = 0;
+ rv = 0;
out:
rumpuser_component_schedule(cookie);
Home |
Main Index |
Thread Index |
Old Index