Module Name:    src
Committed By:   apb
Date:           Fri Oct 19 19:44:06 UTC 2012

Modified Files:
        src/sys/compat/common: tty_60.c

Log Message:
Also copy the sfd element of struct ptmget.  This somehow
got lost between testing and commit.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/common/tty_60.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/compat/common/tty_60.c
diff -u src/sys/compat/common/tty_60.c:1.2 src/sys/compat/common/tty_60.c:1.3
--- src/sys/compat/common/tty_60.c:1.2	Fri Oct 19 17:32:20 2012
+++ src/sys/compat/common/tty_60.c	Fri Oct 19 19:44:06 2012
@@ -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 @@ ptmget_to_ptmget60(struct ptmget *pg, st
 {
 	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)

Reply via email to