Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/smbfs fix compile error (thanks Juan RP)



details:   https://anonhg.NetBSD.org/src/rev/f171df5952c7
branches:  trunk
changeset: 566059:f171df5952c7
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 26 20:38:22 2004 +0000

description:
fix compile error (thanks Juan RP)

diffstat:

 sys/fs/smbfs/smbfs_vfsops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3c88acc56a05 -r f171df5952c7 sys/fs/smbfs/smbfs_vfsops.c
--- a/sys/fs/smbfs/smbfs_vfsops.c       Mon Apr 26 20:33:50 2004 +0000
+++ b/sys/fs/smbfs/smbfs_vfsops.c       Mon Apr 26 20:38:22 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smbfs_vfsops.c,v 1.37 2004/04/26 17:08:34 christos Exp $       */
+/*     $NetBSD: smbfs_vfsops.c,v 1.38 2004/04/26 20:38:22 christos Exp $       */
 
 /*
  * Copyright (c) 2000-2001, Boris Popov
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.37 2004/04/26 17:08:34 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.38 2004/04/26 20:38:22 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_quota.h"
@@ -200,7 +200,7 @@
            mp, p);
        if (error)
                goto bad;
-       sbp->mnt_stat.f_namemax = MAXNAMLEN;
+       mp->mnt_stat.f_namemax = MAXNAMLEN;
        memset(mp->mnt_stat.f_mntfromname, 0, MNAMELEN);
        snprintf(mp->mnt_stat.f_mntfromname, MNAMELEN,
            "//%s@%s/%s", vcp->vc_username, vcp->vc_srvname, ssp->ss_name);



Home | Main Index | Thread Index | Old Index