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/mount_ffs | |
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/mount_ffs')
-rw-r--r-- | sbin/mount_ffs/mount_ffs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/mount_ffs/mount_ffs.c b/sbin/mount_ffs/mount_ffs.c index 29e2f343467..ce92eb72b53 100644 --- a/sbin/mount_ffs/mount_ffs.c +++ b/sbin/mount_ffs/mount_ffs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount_ffs.c,v 1.12 2002/02/16 21:27:36 millert Exp $ */ +/* $OpenBSD: mount_ffs.c,v 1.13 2002/04/23 18:54:12 espie Exp $ */ /* $NetBSD: mount_ffs.c,v 1.3 1996/04/13 01:31:19 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)mount_ufs.c 8.2 (Berkeley) 3/27/94"; #else -static char rcsid[] = "$OpenBSD: mount_ffs.c,v 1.12 2002/02/16 21:27:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: mount_ffs.c,v 1.13 2002/04/23 18:54:12 espie Exp $"; #endif #endif /* not lint */ @@ -103,11 +103,11 @@ main(argc, argv) fs_name = argv[1]; /* The mount point. */ #define DEFAULT_ROOTUID -2 - args.export.ex_root = DEFAULT_ROOTUID; + args.export_info.ex_root = DEFAULT_ROOTUID; 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; if (mount(MOUNT_FFS, fs_name, mntflags, &args) < 0) { switch (errno) { |