diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-05-12 23:41:17 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-05-12 23:41:17 +0000 |
commit | d6978d31acd74cde154bc96c02c5737b6a7833e5 (patch) | |
tree | 70e1e5f7c615887f5706b8da1cf426fa47ef1861 /sbin | |
parent | f26b5f512e10d07a73eba57014b8f3f14c8f6a74 (diff) |
update for mount args changes
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/mount_umap/mount_umap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/mount_umap/mount_umap.c b/sbin/mount_umap/mount_umap.c index 53e27ed411f..3258a6d38f2 100644 --- a/sbin/mount_umap/mount_umap.c +++ b/sbin/mount_umap/mount_umap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount_umap.c,v 1.10 2002/06/09 08:13:08 todd Exp $ */ +/* $OpenBSD: mount_umap.c,v 1.11 2003/05/12 23:41:16 tedu Exp $ */ /* $NetBSD: mount_umap.c,v 1.5 1996/04/13 01:32:05 jtc Exp $ */ /* @@ -47,7 +47,7 @@ char copyright[] = #if 0 static char sccsid[] = "@(#)mount_umap.c 8.3 (Berkeley) 3/27/94"; #else -static char rcsid[] = "$OpenBSD: mount_umap.c,v 1.10 2002/06/09 08:13:08 todd Exp $"; +static char rcsid[] = "$OpenBSD: mount_umap.c,v 1.11 2003/05/12 23:41:16 tedu Exp $"; #endif #endif /* not lint */ @@ -101,8 +101,8 @@ main(argc, argv) struct umap_args args; FILE *fp, *gfp; long d1, d2; - id_t umapdata[UMAPFILEENTRIES][2]; - id_t gmapdata[GMAPFILEENTRIES][2]; + u_long umapdata[UMAPFILEENTRIES][2]; + u_long gmapdata[GMAPFILEENTRIES][2]; int ch, count, gnentries, mntflags, unentries; char *gmapfile, *umapfile, *source, *target, buf[20]; @@ -225,7 +225,7 @@ main(argc, argv) /* Setup mount call args. */ - args.target = source; + args.la.target = source; args.unentries = unentries; args.umapdata = umapdata; args.gnentries = gnentries; |