aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2006-11-14 01:07:42 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2006-11-14 01:07:42 +0000
commitc195c7f6187f2bf8d39991f26f20b77341d59e4a (patch)
treebf3f0aa2bbcd8d9ba604d8f358951f5c93245b5a /sbin/mount
parent4184900911a34aeb94d9a8320f439af663281bba (diff)
Notes
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index 9e5de112b63f..b5ce18e55610 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -530,7 +530,10 @@ mountfs(const char *vfstype, const char *spec, const char *name, int flags,
argv[argc] = NULL;
if (debug) {
- (void)printf("exec: mount_%s", vfstype);
+ if (use_mountprog(vfstype))
+ printf("exec: mount_%s", vfstype);
+ else
+ printf("mount -t %s", vfstype);
for (i = 1; i < argc; i++)
(void)printf(" %s", argv[i]);
(void)printf("\n");