svn commit: r261085 - head/sys/geom
Mateusz Guzik
mjguzik at gmail.com
Thu Jan 23 20:17:55 UTC 2014
On Thu, Jan 23, 2014 at 07:31:17PM +0000, Andrey V. Elsukov wrote:
> @@ -122,7 +123,7 @@ geom_alloc_copyin(struct gctl_req *req,
> void *ptr;
>
> ptr = g_malloc(len, M_WAITOK);
> - nreq->nerror = copyin(uaddr, ptr, len);
> + req->nerror = copyin(uaddr, ptr, len);
> if (!req->nerror)
> return (ptr);
> if (ptr != NULL)
Is not this if (ptr != NULL) unnecesary?
--
Mateusz Guzik <mjguzik gmail.com>
More information about the svn-src-all
mailing list