Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common fix typo



details:   https://anonhg.NetBSD.org/src/rev/f87cf78352c5
branches:  trunk
changeset: 820721:f87cf78352c5
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 13 22:46:43 2017 +0000

description:
fix typo

diffstat:

 sys/compat/linux/common/linux_file64.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 845cf1f03d6a -r f87cf78352c5 sys/compat/linux/common/linux_file64.c
--- a/sys/compat/linux/common/linux_file64.c    Fri Jan 13 22:45:15 2017 +0000
+++ b/sys/compat/linux/common/linux_file64.c    Fri Jan 13 22:46:43 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_file64.c,v 1.56 2017/01/13 21:02:05 christos Exp $       */
+/*     $NetBSD: linux_file64.c,v 1.57 2017/01/13 22:46:43 christos Exp $       */
 
 /*-
  * Copyright (c) 1995, 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_file64.c,v 1.56 2017/01/13 21:02:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_file64.c,v 1.57 2017/01/13 22:46:43 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -355,7 +355,7 @@
                idb.d_off = off;
                idb.d_reclen = (u_short)linux_reclen;
                memcpy(idb.d_name, bdp->d_name, MIN(sizeof(idb.d_name),
-                  bdp.d_namlen);
+                  bdp->d_namlen));
                if ((error = copyout((void *)&idb, outp, linux_reclen)))
                        goto out;
                /* advance past this real entry */



Home | Main Index | Thread Index | Old Index