Source-Changes-HG archive

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

[src/trunk]: src/sbin/mount_portal Minor tweak to make portalfs work on 64 bi...



details:   https://anonhg.NetBSD.org/src/rev/e60e7683c1fd
branches:  trunk
changeset: 522071:e60e7683c1fd
user:      atatat <atatat%NetBSD.org@localhost>
date:      Mon Feb 11 07:32:56 2002 +0000

description:
Minor tweak to make portalfs work on 64 bit ports.

diffstat:

 sbin/mount_portal/activate.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6ef82e1f2942 -r e60e7683c1fd sbin/mount_portal/activate.c
--- a/sbin/mount_portal/activate.c      Mon Feb 11 07:32:54 2002 +0000
+++ b/sbin/mount_portal/activate.c      Mon Feb 11 07:32:56 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: activate.c,v 1.10 2001/01/10 03:33:16 lukem Exp $      */
+/*     $NetBSD: activate.c,v 1.11 2002/02/11 07:32:56 atatat Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: activate.c,v 1.10 2001/01/10 03:33:16 lukem Exp $");
+__RCSID("$NetBSD: activate.c,v 1.11 2002/02/11 07:32:56 atatat Exp $");
 #endif /* not lint */
 
 #include <stdio.h>
@@ -151,7 +151,7 @@
         * construct a suitable rights control message.
         */
        if (fd >= 0) {
-               cmsgsize = CMSG_SPACE(sizeof(*files));
+               cmsgsize = CMSG_LEN(sizeof(*files));
 
                ctl = malloc(cmsgsize);
                if (ctl == NULL) {



Home | Main Index | Thread Index | Old Index