mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 21:51:07 +01:00
Small diffs that p4 didn't catch when I extracted
the diffs from my branch.
This commit is contained in:
parent
7b333193e0
commit
c005cd89e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101275
@ -77,7 +77,6 @@ main(argc, argv)
|
||||
int ch, mntflags;
|
||||
char source[MAXPATHLEN];
|
||||
char target[MAXPATHLEN];
|
||||
int error;
|
||||
|
||||
mntflags = 0;
|
||||
while ((ch = getopt(argc, argv, "o:")) != -1)
|
||||
@ -106,7 +105,7 @@ main(argc, argv)
|
||||
iov[0].iov_base = "fstype";
|
||||
iov[0].iov_len = sizeof("fstype");
|
||||
iov[1].iov_base = "nullfs";
|
||||
iov[1].iov_len = strlen("nullfs") + 1;
|
||||
iov[1].iov_len = strlen(iov[1].iov_base) + 1;
|
||||
iov[2].iov_base = "fspath";
|
||||
iov[2].iov_len = sizeof("fspath");
|
||||
iov[3].iov_base = source;
|
||||
|
Loading…
Reference in New Issue
Block a user