Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/common Also copy the sfd element of struct ptmget...
details: https://anonhg.NetBSD.org/src/rev/ad0efaa38787
branches: trunk
changeset: 782177:ad0efaa38787
user: apb <apb%NetBSD.org@localhost>
date: Fri Oct 19 19:44:06 2012 +0000
description:
Also copy the sfd element of struct ptmget. This somehow
got lost between testing and commit.
diffstat:
sys/compat/common/tty_60.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r e0739c8e007f -r ad0efaa38787 sys/compat/common/tty_60.c
--- a/sys/compat/common/tty_60.c Fri Oct 19 17:32:20 2012 +0000
+++ b/sys/compat/common/tty_60.c Fri Oct 19 19:44:06 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tty_60.c,v 1.2 2012/10/19 17:32:20 apb Exp $ */
+/* $NetBSD: tty_60.c,v 1.3 2012/10/19 19:44:06 apb Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty_60.c,v 1.2 2012/10/19 17:32:20 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty_60.c,v 1.3 2012/10/19 19:44:06 apb Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -53,6 +53,7 @@
{
memset(pg60, 0, sizeof(*pg60));
pg60->cfd = pg->cfd;
+ pg60->sfd = pg->sfd;
strlcpy(pg60->cn, pg->cn, sizeof(pg60->cn));
strlcpy(pg60->sn, pg->sn, sizeof(pg60->sn));
if (strlen(pg->cn) >= sizeof(pg60->cn)
Home |
Main Index |
Thread Index |
Old Index