summaryrefslogtreecommitdiff
path: root/sbin/mount_ntfs/mount_ntfs.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-05-24 21:48:07 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-05-24 21:48:07 +0000
commit925272d554e9776675b7908666077d2f3ebe6415 (patch)
tree87ff0995926c98b032c50681e909f72430677607 /sbin/mount_ntfs/mount_ntfs.c
parent702c78c15a6f5ae4880c3b18980319ad8a36dd2b (diff)
rename export to export_info for c++ safety. report by naddy@
Diffstat (limited to 'sbin/mount_ntfs/mount_ntfs.c')
-rw-r--r--sbin/mount_ntfs/mount_ntfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/mount_ntfs/mount_ntfs.c b/sbin/mount_ntfs/mount_ntfs.c
index c99aad5676a..d2ac4f3ae2d 100644
--- a/sbin/mount_ntfs/mount_ntfs.c
+++ b/sbin/mount_ntfs/mount_ntfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_ntfs.c,v 1.3 2003/05/20 03:38:04 tedu Exp $ */
+/* $OpenBSD: mount_ntfs.c,v 1.4 2003/05/24 21:48:06 tedu Exp $ */
/* $NetBSD: mount_ntfs.c,v 1.9 2003/05/03 15:37:08 christos Exp $ */
/*
@@ -144,11 +144,11 @@ mount_ntfs(argc, argv)
}
args.fspec = dev;
- args.export.ex_root = 65534; /* unchecked anyway on DOS fs */
+ args.export_info.ex_root = 65534; /* unchecked anyway on DOS fs */
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 (!set_gid || !set_uid || !set_mask) {
if (stat(dir, &sb) == -1)
err(EX_OSERR, "stat %s", dir);