summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/main.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-04-23 18:54:13 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-04-23 18:54:13 +0000
commite9cca0aff478d6a7f8aa989f1f3b5c7796ecbe3b (patch)
tree5584e842283ad77a56a1c6a443c4ac6d0b4aeca4 /sbin/fsck_ffs/main.c
parentd70cb2c050204739bb31da06800d79bad94f2730 (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/fsck_ffs/main.c')
-rw-r--r--sbin/fsck_ffs/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c
index 01b6279742e..128027fa529 100644
--- a/sbin/fsck_ffs/main.c
+++ b/sbin/fsck_ffs/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.20 2002/02/16 21:27:34 millert Exp $ */
+/* $OpenBSD: main.c,v 1.21 2002/04/23 18:54:12 espie Exp $ */
/* $NetBSD: main.c,v 1.22 1996/10/11 20:15:48 thorpej Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/23/94";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.20 2002/02/16 21:27:34 millert Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.21 2002/04/23 18:54:12 espie Exp $";
#endif
#endif /* not lint */
@@ -338,8 +338,8 @@ checkfilesys(filesys, mntpt, auxdata, child)
if (flags & MNT_RDONLY) {
args.fspec = 0;
- args.export.ex_flags = 0;
- args.export.ex_root = 0;
+ args.export_info.ex_flags = 0;
+ args.export_info.ex_root = 0;
flags |= MNT_UPDATE | MNT_RELOAD;
ret = mount(MOUNT_FFS, "/", flags, &args);
if (ret == 0)