Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpvfs Fix error return for rump_vfs_makeo...
details: https://anonhg.NetBSD.org/src/rev/aaa2bdf3294d
branches: trunk
changeset: 330063:aaa2bdf3294d
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Jun 20 11:27:25 2014 +0000
description:
Fix error return for rump_vfs_makeonedevnode()
from Ian Jackson <Ian.Jackson%eu.citrix.com@localhost>
diffstat:
sys/rump/librump/rumpvfs/devnodes.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2c0e722a5338 -r aaa2bdf3294d sys/rump/librump/rumpvfs/devnodes.c
--- a/sys/rump/librump/rumpvfs/devnodes.c Fri Jun 20 09:47:15 2014 +0000
+++ b/sys/rump/librump/rumpvfs/devnodes.c Fri Jun 20 11:27:25 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: devnodes.c,v 1.9 2014/03/20 20:42:08 christos Exp $ */
+/* $NetBSD: devnodes.c,v 1.10 2014/06/20 11:27:25 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: devnodes.c,v 1.9 2014/03/20 20:42:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: devnodes.c,v 1.10 2014/06/20 11:27:25 pooka Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -52,7 +52,7 @@
if (error == EEXIST) /* XXX: should check it's actually the same */
error = 0;
- return 0;
+ return error;
}
static int
Home |
Main Index |
Thread Index |
Old Index