diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2002-04-23 18:54:13 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2002-04-23 18:54:13 +0000 |
commit | e9cca0aff478d6a7f8aa989f1f3b5c7796ecbe3b (patch) | |
tree | 5584e842283ad77a56a1c6a443c4ac6d0b4aeca4 /sbin/newfs/newfs.c | |
parent | d70cb2c050204739bb31da06800d79bad94f2730 (diff) |
In mount.h, rename field export -> export_info, to avoid collision with C++.
Synch files that use that field.
(This argument is an internal interface specific to OpenBSD, so it won't
cause compatibility problems.)
(No bump, not an ABI change).
ok art, millert...
Diffstat (limited to 'sbin/newfs/newfs.c')
-rw-r--r-- | sbin/newfs/newfs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index 0d50965a66f..4751e98786a 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newfs.c,v 1.32 2002/02/19 19:39:38 millert Exp $ */ +/* $OpenBSD: newfs.c,v 1.33 2002/04/23 18:54:12 espie Exp $ */ /* $NetBSD: newfs.c,v 1.20 1996/05/16 07:13:03 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)newfs.c 8.8 (Berkeley) 4/18/94"; #else -static char rcsid[] = "$OpenBSD: newfs.c,v 1.32 2002/02/19 19:39:38 millert Exp $"; +static char rcsid[] = "$OpenBSD: newfs.c,v 1.33 2002/04/23 18:54:12 espie Exp $"; #endif #endif /* not lint */ @@ -591,11 +591,11 @@ havelabel: sprintf(buf, "mfs:%d", getpid()); args.fspec = buf; - args.export.ex_root = -2; + args.export_info.ex_root = -2; if (mntflags & MNT_RDONLY) - args.export.ex_flags = MNT_EXRDONLY; + args.export_info.ex_flags = MNT_EXRDONLY; else - args.export.ex_flags = 0; + args.export_info.ex_flags = 0; args.base = membase; args.size = fssize * sectorsize; if (mount(MOUNT_MFS, argv[1], mntflags, &args) < 0) |