diff options
| author | Eric Anholt <anholt@FreeBSD.org> | 2004-01-07 05:37:56 +0000 |
|---|---|---|
| committer | Eric Anholt <anholt@FreeBSD.org> | 2004-01-07 05:37:56 +0000 |
| commit | 01a9bce5ee48ad313fdde5f32ad5c24065190f1d (patch) | |
| tree | 941fa1165fceb72bd992885e80f77bbea1dee43a /sbin/mount | |
| parent | 624a58b6e6a029e1a0cabe8e163e00a4a54cb1b3 (diff) | |
Notes
Diffstat (limited to 'sbin/mount')
| -rw-r--r-- | sbin/mount/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 7806ecc1f2026..e3f7bf21173bd 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -234,6 +234,7 @@ main(argc, argv) if (vfslist != NULL) usage(); + rmslashes(*argv, *argv); if (init_flags & MNT_UPDATE) { mntfromname = NULL; have_fstab = 0; @@ -272,7 +273,6 @@ 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", |
