Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/dev/lib/libugenhc Fix order of outputs in rumpuser_...
details: https://anonhg.NetBSD.org/src/rev/69e9a6e7f2cd
branches: trunk
changeset: 352999:69e9a6e7f2cd
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Apr 17 05:11:05 2017 +0000
description:
Fix order of outputs in rumpuser_open call.
Now ugenhc works again after a four-year hiatus...
diffstat:
sys/rump/dev/lib/libugenhc/ugenhc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 724dda392663 -r 69e9a6e7f2cd sys/rump/dev/lib/libugenhc/ugenhc.c
--- a/sys/rump/dev/lib/libugenhc/ugenhc.c Mon Apr 17 03:59:37 2017 +0000
+++ b/sys/rump/dev/lib/libugenhc/ugenhc.c Mon Apr 17 05:11:05 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ugenhc.c,v 1.24 2016/04/23 10:15:30 skrll Exp $ */
+/* $NetBSD: ugenhc.c,v 1.25 2017/04/17 05:11:05 riastradh Exp $ */
/*
* Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ugenhc.c,v 1.24 2016/04/23 10:15:30 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ugenhc.c,v 1.25 2017/04/17 05:11:05 riastradh Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -489,7 +489,7 @@
*/
for (;;) {
- fd = rumpuser_open(buf, RUMPUSER_OPEN_RDWR, &error);
+ error = rumpuser_open(buf, RUMPUSER_OPEN_RDWR, &fd);
if (fd == -1)
break;
Home |
Main Index |
Thread Index |
Old Index