diff options
| -rw-r--r-- | sbin/mount/mount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 1ba9e570a7f3..d393ecc23d73 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/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", |
