diff options
author | eivind <eivind@FreeBSD.org> | 1999-12-26 16:34:53 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1999-12-26 16:34:53 +0000 |
commit | 35e8c42139da2a5b1017735c3284081facad126a (patch) | |
tree | 800bd51082aec2932a213fe335d6d71c9937b9d2 /sbin/mount_ifs | |
parent | 309905643392ff30130047951454fe281e4a9bc3 (diff) | |
download | FreeBSD-src-35e8c42139da2a5b1017735c3284081facad126a.zip FreeBSD-src-35e8c42139da2a5b1017735c3284081facad126a.tar.gz |
Fix tab completion mounts (like /cdrom/)
Submitted by: Martin Blapp <mb@imp.ch>
Diffstat (limited to 'sbin/mount_ifs')
-rw-r--r-- | sbin/mount_ifs/mount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/mount_ifs/mount.c b/sbin/mount_ifs/mount.c index 8510db5..14b56c9 100644 --- a/sbin/mount_ifs/mount.c +++ b/sbin/mount_ifs/mount.c @@ -265,6 +265,7 @@ main(argc, argv) mntbuf->f_mntonname, init_flags, options, 0); break; } + rmslashes(*argv, *argv); if ((fs = getfsfile(*argv)) == NULL && (fs = getfsspec(*argv)) == NULL) errx(1, "%s: unknown special file or file system", |