From e9cca0aff478d6a7f8aa989f1f3b5c7796ecbe3b Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 23 Apr 2002 18:54:13 +0000 Subject: 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... --- sbin/newfs/newfs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sbin/newfs/newfs.c') 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) -- cgit v1.2.3