diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-12-23 07:46:54 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-12-23 07:46:54 +0000 |
commit | d5cd146b661445819a643dbcc2969655bc3b2f79 (patch) | |
tree | 055c4b273b770a3cc4673eefea9c628c9766eb39 /sbin/mount/mount.c | |
parent | d346a83e619e2d9b11fe0dbe67d0ed1bb05d2d3d (diff) |
readlabelfs()
Diffstat (limited to 'sbin/mount/mount.c')
-rw-r--r-- | sbin/mount/mount.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 05a71deb6cb..8ad202869e3 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.c,v 1.10 1996/12/09 13:25:26 deraadt Exp $ */ +/* $OpenBSD: mount.c,v 1.11 1996/12/23 07:46:53 downsj Exp $ */ /* $NetBSD: mount.c,v 1.24 1995/11/18 03:34:29 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)mount.c 8.19 (Berkeley) 4/19/94"; #else -static char rcsid[] = "$OpenBSD: mount.c,v 1.10 1996/12/09 13:25:26 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: mount.c,v 1.11 1996/12/23 07:46:53 downsj Exp $"; #endif #endif /* not lint */ @@ -236,7 +236,7 @@ main(argc, argv) if (strpbrk(argv[0], ":@") != NULL) vfstype = "nfs"; else { - char *labelfs = readlabelfs(argv[0]); + char *labelfs = readlabelfs(argv[0], 0); if (labelfs != NULL) vfstype = labelfs; } @@ -588,7 +588,7 @@ disklabelcheck(fs) if (strcmp(fs->fs_vfstype, "nfs") != 0 || strpbrk(fs->fs_spec, ":@") == NULL) { - labelfs = readlabelfs(fs->fs_spec); + labelfs = readlabelfs(fs->fs_spec, 1); if (labelfs == NULL || strcmp(labelfs, fs->fs_vfstype) == 0) return (0); |