Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern the usual wuninit stuff
details: https://anonhg.NetBSD.org/src/rev/71425a3bd329
branches: trunk
changeset: 758976:71425a3bd329
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Nov 22 21:46:04 2010 +0000
description:
the usual wuninit stuff
diffstat:
sys/rump/librump/rumpkern/rumpcopy.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9411a025fae6 -r 71425a3bd329 sys/rump/librump/rumpkern/rumpcopy.c
--- a/sys/rump/librump/rumpkern/rumpcopy.c Mon Nov 22 21:31:51 2010 +0000
+++ b/sys/rump/librump/rumpkern/rumpcopy.c Mon Nov 22 21:46:04 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpcopy.c,v 1.11 2010/11/22 20:42:19 pooka Exp $ */
+/* $NetBSD: rumpcopy.c,v 1.12 2010/11/22 21:46:04 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpcopy.c,v 1.11 2010/11/22 20:42:19 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpcopy.c,v 1.12 2010/11/22 21:46:04 pooka Exp $");
#include <sys/param.h>
#include <sys/lwp.h>
@@ -174,7 +174,7 @@
int
uvm_io(struct vm_map *vm, struct uio *uio)
{
- int error;
+ int error = 0;
/* loop over iovecs one-by-one and copyout */
for (; uio->uio_resid && uio->uio_iovcnt;
Home |
Main Index |
Thread Index |
Old Index