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:
jhb 2002-11-05 20:06:01 +00:00
parent 55ca07b02e
commit 763278ed68

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;