Fix typos

Submitted by:	bjk
Approved by:	bcr (mentor)
This commit is contained in:
Eitan Adler 2012-11-29 13:13:59 +00:00
parent bd90bafa31
commit 0dd2935666
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40186

View file

@ -348,8 +348,8 @@ echo_write(struct cdev *dev __unused, struct uio *uio, int ioflag __unused)
/* Copy the string in from user memory to kernel memory */
/*
* We either write from the beginning or are appending - do
* not allow ranom access.
* We either write from the beginning or are appending -- do
* not allow random access.
*/
if (uio-<uio_offset != 0 && (uio-<uio_offset != echomsg-<len))
return (EINVAL);