Fix biff in previous change.

This commit is contained in:
mycroft 2002-09-21 20:26:49 +00:00
parent b1ce597546
commit 73d9032bfc
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: advfsops.c,v 1.55 2002/09/21 18:10:04 christos Exp $ */
/* $NetBSD: advfsops.c,v 1.56 2002/09/21 20:26:49 mycroft Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: advfsops.c,v 1.55 2002/09/21 18:10:04 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: advfsops.c,v 1.56 2002/09/21 20:26:49 mycroft Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -111,7 +111,7 @@ adosfs_mount(mp, path, data, ndp, p)
args.gid = amp->gid;
args.mask = amp->mask;
args.fspec = NULL;
args.export = amp->export;
vfs_showexport(mp, &args.export, &amp->export);
return copyout(&args, data, sizeof(args));
}
error = copyin(data, (caddr_t)&args, sizeof(struct adosfs_args));

View File

@ -1,4 +1,4 @@
/* $NetBSD: filecore_vfsops.c,v 1.21 2002/09/21 18:11:13 christos Exp $ */
/* $NetBSD: filecore_vfsops.c,v 1.22 2002/09/21 20:28:50 mycroft Exp $ */
/*-
* Copyright (c) 1998 Andrew McMurry
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: filecore_vfsops.c,v 1.21 2002/09/21 18:11:13 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: filecore_vfsops.c,v 1.22 2002/09/21 20:28:50 mycroft Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -169,7 +169,7 @@ filecore_mount(mp, path, data, ndp, p)
args.uid = fcmp->fc_uid;
args.gid = fcmp->fc_gid;
args.fspec = NULL;
args.export = fcmp->fc_export;
vfs_showexport(mp, &args.export, &fcmp->fc_export);
return copyout(&args, data, sizeof(args));
}
error = copyin(data, (caddr_t)&args, sizeof (struct filecore_args));