PERFORCE change 103970 for review
John Birrell
jb at FreeBSD.org
Tue Aug 15 04:01:54 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=103970
Change 103970 by jb at jb_freebsd2 on 2006/08/15 04:01:31
copystr -> copyout bug fix.
Affected files ...
.. //depot/projects/kmacy_sun4v_stable/src/sys/kern/vfs_mount.c#3 edit
Differences ...
==== //depot/projects/kmacy_sun4v_stable/src/sys/kern/vfs_mount.c#3 (text+ko) ====
@@ -697,10 +697,9 @@
errmsg,
fsoptions->uio_iov[2 * errmsg_pos + 1].iov_len);
} else {
- copystr(errmsg,
+ copyout(errmsg,
fsoptions->uio_iov[2 * errmsg_pos + 1].iov_base,
- fsoptions->uio_iov[2 * errmsg_pos + 1].iov_len,
- NULL);
+ fsoptions->uio_iov[2 * errmsg_pos + 1].iov_len);
}
}
More information about the p4-projects
mailing list