minor data-typing error in 8.1 fs/devfs/devfs_vnops.c

2011-02-07 Thread perryh
Noticed while digging through devfs_read_f() and devfs_write_f() in the course of investigating some unexpected (by me) geom behavior: ... int ioflag, error, resid; ... resid = uio-uio_resid; ... if (uio-uio_resid != resid || ... IOW resid (an int) is being assigned from

Re: minor data-typing error in 8.1 fs/devfs/devfs_vnops.c

2011-02-07 Thread Kostik Belousov
On Mon, Feb 07, 2011 at 12:53:14AM -0800, per...@pluto.rain.com wrote: Noticed while digging through devfs_read_f() and devfs_write_f() in the course of investigating some unexpected (by me) geom behavior: ... int ioflag, error, resid; ... resid = uio-uio_resid; ...