mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Use uiomove return value instead of returning 0.
This commit is contained in:
parent
72794e9e2c
commit
07ab70a447
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242948
@ -569,9 +569,9 @@ ams_read(struct cdev *dev, struct uio *uio, int flag)
|
||||
|
||||
mtx_unlock(&sc->sc_mtx);
|
||||
|
||||
uiomove(outpacket,len,uio);
|
||||
error = uiomove(outpacket,len,uio);
|
||||
|
||||
return (0);
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user