Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/fdesc Fix type of /dev/tty
details: https://anonhg.NetBSD.org/src/rev/0816dadf274a
branches: trunk
changeset: 331996:0816dadf274a
user: christos <christos%NetBSD.org@localhost>
date: Thu Sep 04 00:30:25 2014 +0000
description:
Fix type of /dev/tty
diffstat:
sys/miscfs/fdesc/fdesc_vfsops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 310e1c3c98ac -r 0816dadf274a sys/miscfs/fdesc/fdesc_vfsops.c
--- a/sys/miscfs/fdesc/fdesc_vfsops.c Wed Sep 03 23:59:58 2014 +0000
+++ b/sys/miscfs/fdesc/fdesc_vfsops.c Thu Sep 04 00:30:25 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdesc_vfsops.c,v 1.89 2014/07/13 11:23:01 hannken Exp $ */
+/* $NetBSD: fdesc_vfsops.c,v 1.90 2014/09/04 00:30:25 christos Exp $ */
/*
* Copyright (c) 1992, 1993, 1995
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdesc_vfsops.c,v 1.89 2014/07/13 11:23:01 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdesc_vfsops.c,v 1.90 2014/09/04 00:30:25 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -202,7 +202,7 @@
break;
case FD_CTTY:
fd->fd_type = Fctty;
- vp->v_type = VNON;
+ vp->v_type = VCHR;
break;
case FD_STDIN:
fd->fd_type = Flink;
Home |
Main Index |
Thread Index |
Old Index