Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/kern pullup 1.42->1.43 (thorpej)



details:   https://anonhg.NetBSD.org/src/rev/73a3e8690c31
branches:  netbsd-1-4
changeset: 468660:73a3e8690c31
user:      perry <perry%NetBSD.org@localhost>
date:      Wed May 05 20:59:12 1999 +0000

description:
pullup 1.42->1.43 (thorpej)

diffstat:

 sys/kern/uipc_usrreq.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3cc2cee5a52c -r 73a3e8690c31 sys/kern/uipc_usrreq.c
--- a/sys/kern/uipc_usrreq.c    Wed May 05 20:57:27 1999 +0000
+++ b/sys/kern/uipc_usrreq.c    Wed May 05 20:59:12 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_usrreq.c,v 1.39 1999/03/22 17:54:39 sommerfe Exp $        */
+/*     $NetBSD: uipc_usrreq.c,v 1.39.2.1 1999/05/05 20:59:12 perry Exp $       */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -1213,7 +1213,7 @@
                                        continue;
                                qfds = (cm->cmsg_len - ALIGN(sizeof(*cm)))
                                                / sizeof(struct file *);
-                               rp = (struct file **)(cm + 1);
+                               rp = (struct file **)ALIGN(cm + 1);
                                for (i = 0; i < qfds; i++) {
                                        struct file *fp = *rp;
                                        if (discard)



Home | Main Index | Thread Index | Old Index