Take sizeof() the right string for fspath's iovec. The old string was the

same size so this doesn't fix a bug, but it makes it cleaner.
This commit is contained in:
John Baldwin 2002-11-05 20:06:01 +00:00
parent c00809fcf9
commit 8bc90fb220
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106477

View File

@ -127,7 +127,7 @@ main(argc, argv)
iov[1].iov_base = fsname;
iov[1].iov_len = strlen(iov[1].iov_base) + 1;
iov[2].iov_base = "fspath";
iov[2].iov_len = sizeof("fstype");
iov[2].iov_len = sizeof("fspath");
iov[3].iov_base = mntpath;
iov[3].iov_len = strlen(mntpath) + 1;