summaryrefslogtreecommitdiff
path: root/sbin/fsck_ext2fs/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_ext2fs/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_ext2fs/main.c')
-rw-r--r--sbin/fsck_ext2fs/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/fsck_ext2fs/main.c b/sbin/fsck_ext2fs/main.c
index cecfe2ff6b2..efefef00031 100644
--- a/sbin/fsck_ext2fs/main.c
+++ b/sbin/fsck_ext2fs/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.8 2002/02/16 21:27:34 millert Exp $ */
+/* $OpenBSD: main.c,v 1.9 2002/04/23 18:54:12 espie Exp $ */
/* $NetBSD: main.c,v 1.1 1997/06/11 11:21:50 bouyer Exp $ */
/*
@@ -48,7 +48,7 @@ static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/23/94";
#if 0
static char rcsid[] = "$NetBSD: main.c,v 1.1 1997/06/11 11:21:50 bouyer Exp $";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.8 2002/02/16 21:27:34 millert Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.9 2002/04/23 18:54:12 espie Exp $";
#endif
#endif
#endif /* not lint */
@@ -309,8 +309,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_EXT2FS, "/", flags, &args);
if (ret == 0)