diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-16 22:45:38 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-12-16 22:45:38 +0000 |
commit | 99eab7317349164dbef35bb0724dc60d6d33396c (patch) | |
tree | ac97781e63c3363d8cb30ac3d0a4c8610b121e8b /sbin/mount/mount.c | |
parent | 1d2302aedf7a6981b01df265c231d0f299befd42 (diff) |
Provide a more useful error message if no mount_foo helper program can be
found.
ok millert@
Diffstat (limited to 'sbin/mount/mount.c')
-rw-r--r-- | sbin/mount/mount.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 2b7ddf27962..3f15a6ee989 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.c,v 1.22 2001/06/24 17:03:16 csapuntz Exp $ */ +/* $OpenBSD: mount.c,v 1.23 2001/12/16 22:45:37 miod 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.22 2001/06/24 17:03:16 csapuntz Exp $"; +static char rcsid[] = "$OpenBSD: mount.c,v 1.23 2001/12/16 22:45:37 miod Exp $"; #endif #endif /* not lint */ @@ -404,7 +404,7 @@ mountfs(vfstype, spec, name, flags, options, mntopts, skipmounted) } while (*++edir != NULL); if (errno == ENOENT) - warn("exec %s for %s", execname, name); + warn("no mount helper program found for %s", vfstype); exit(1); /* NOTREACHED */ default: /* Parent. */ |