Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin Update to new mount arguments.



details:   https://anonhg.NetBSD.org/src/rev/befd618129e9
branches:  trunk
changeset: 474485:befd618129e9
user:      wrstuden <wrstuden%NetBSD.org@localhost>
date:      Thu Jul 08 03:04:39 1999 +0000

description:
Update to new mount arguments.

diffstat:

 sbin/mount_null/mount_null.c |  6 +++---
 sbin/mount_umap/mount_umap.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 698c1ca0a127 -r befd618129e9 sbin/mount_null/mount_null.c
--- a/sbin/mount_null/mount_null.c      Thu Jul 08 01:56:09 1999 +0000
+++ b/sbin/mount_null/mount_null.c      Thu Jul 08 03:04:39 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mount_null.c,v 1.6 1999/06/25 19:28:37 perseant Exp $  */
+/*     $NetBSD: mount_null.c,v 1.7 1999/07/08 03:04:39 wrstuden Exp $  */
 
 /*
  * Copyright (c) 1992, 1993, 1994
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)mount_null.c       8.6 (Berkeley) 4/26/95";
 #else
-__RCSID("$NetBSD: mount_null.c,v 1.6 1999/06/25 19:28:37 perseant Exp $");
+__RCSID("$NetBSD: mount_null.c,v 1.7 1999/07/08 03:04:39 wrstuden Exp $");
 #endif
 #endif /* not lint */
 
@@ -103,7 +103,7 @@
                errx(1, "%s (%s) and %s are not distinct paths",
                    argv[0], target, argv[1]);
 
-       args.target = target;
+       args.la.target = target;
 
        if (mount(MOUNT_NULL, argv[1], mntflags, &args))
                err(1, "%s on %s", target, argv[1]);
diff -r 698c1ca0a127 -r befd618129e9 sbin/mount_umap/mount_umap.c
--- a/sbin/mount_umap/mount_umap.c      Thu Jul 08 01:56:09 1999 +0000
+++ b/sbin/mount_umap/mount_umap.c      Thu Jul 08 03:04:39 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mount_umap.c,v 1.9 1999/06/25 19:28:37 perseant Exp $  */
+/*     $NetBSD: mount_umap.c,v 1.10 1999/07/08 03:04:40 wrstuden Exp $ */
 
 /*
  * Copyright (c) 1992, 1993, 1994
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)mount_umap.c       8.5 (Berkeley) 4/26/95";
 #else
-__RCSID("$NetBSD: mount_umap.c,v 1.9 1999/06/25 19:28:37 perseant Exp $");
+__RCSID("$NetBSD: mount_umap.c,v 1.10 1999/07/08 03:04:40 wrstuden Exp $");
 #endif
 #endif /* not lint */
 
@@ -223,7 +223,7 @@
 
 
        /* Setup mount call args. */
-       args.target = source;
+       args.la.target = source;
        args.nentries = nentries;
        args.mapdata = mapdata;
        args.gnentries = gnentries;



Home | Main Index | Thread Index | Old Index