diff options
author | Tai-hwa Liang <avatar@FreeBSD.org> | 2005-12-19 05:52:37 +0000 |
---|---|---|
committer | Tai-hwa Liang <avatar@FreeBSD.org> | 2005-12-19 05:52:37 +0000 |
commit | cc2c6edb7727a30bd1740444202c22f10b1cf8f1 (patch) | |
tree | 6964b2f879641e3a6f36eb7776d7004e18fa4aa9 /sbin/mount_cd9660 | |
parent | 0705118de6f7adaf58aa79cf036326616b5ad755 (diff) |
Fixing multi-session disc mount by passing the correct "ssector" option
to the kernel.
Submitted by: Enache Adrian <enache at rdslink dot ro>
Notes
Notes:
svn path=/head/; revision=153531
Diffstat (limited to 'sbin/mount_cd9660')
-rw-r--r-- | sbin/mount_cd9660/mount_cd9660.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount_cd9660/mount_cd9660.c b/sbin/mount_cd9660/mount_cd9660.c index 1b198d1e933d..9a9bd9d04554 100644 --- a/sbin/mount_cd9660/mount_cd9660.c +++ b/sbin/mount_cd9660/mount_cd9660.c @@ -175,7 +175,7 @@ main(int argc, char **argv) build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); build_iovec(&iov, &iovlen, "from", dev, (size_t)-1); - build_iovec(&iov, &iovlen, "ssector", &ssector, sizeof ssector); + build_iovec_argf(&iov, &iovlen, "ssector", "%d", ssector); if (nmount(iov, iovlen, mntflags) < 0) err(1, "%s", dev); |