diff options
| author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2006-11-14 01:07:42 +0000 |
|---|---|---|
| committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2006-11-14 01:07:42 +0000 |
| commit | c195c7f6187f2bf8d39991f26f20b77341d59e4a (patch) | |
| tree | bf3f0aa2bbcd8d9ba604d8f358951f5c93245b5a /sbin/mount | |
| parent | 4184900911a34aeb94d9a8320f439af663281bba (diff) | |
Notes
Diffstat (limited to 'sbin/mount')
| -rw-r--r-- | sbin/mount/mount.c | 5 |
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"); |
