Module Name: src
Committed By: jmcneill
Date: Mon Dec 26 14:50:27 UTC 2011
Modified Files:
src/sys/arch/usermode/usermode: thunk.c
Log Message:
don't need O_NONBLOCK for tap
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/usermode/usermode/thunk.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/arch/usermode/usermode/thunk.c
diff -u src/sys/arch/usermode/usermode/thunk.c:1.52 src/sys/arch/usermode/usermode/thunk.c:1.53
--- src/sys/arch/usermode/usermode/thunk.c:1.52 Mon Dec 26 12:39:20 2011
+++ src/sys/arch/usermode/usermode/thunk.c Mon Dec 26 14:50:27 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.c,v 1.52 2011/12/26 12:39:20 jmcneill Exp $ */
+/* $NetBSD: thunk.c,v 1.53 2011/12/26 14:50:27 jmcneill Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <[email protected]>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifdef __NetBSD__
-__RCSID("$NetBSD: thunk.c,v 1.52 2011/12/26 12:39:20 jmcneill Exp $");
+__RCSID("$NetBSD: thunk.c,v 1.53 2011/12/26 14:50:27 jmcneill Exp $");
#endif
#include <sys/types.h>
@@ -714,7 +714,7 @@ thunk_open_tap(const char *device)
int fd, error, enable;
/* open tap device */
- fd = open(device, O_RDWR|O_NONBLOCK);
+ fd = open(device, O_RDWR);
if (fd == -1)
return -1;