Re: svn commit: r261085 - head/sys/geom

2014-01-23 Thread John-Mark Gurney
Mateusz Guzik wrote this message on Thu, Jan 23, 2014 at 21:17 +0100: > On Thu, Jan 23, 2014 at 07:31:17PM +, 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(u

Re: svn commit: r261085 - head/sys/geom

2014-01-23 Thread Mateusz Guzik
On Thu, Jan 23, 2014 at 07:31:17PM +, 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 (

svn commit: r261085 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 19:31:17 2014 New Revision: 261085 URL: http://svnweb.freebsd.org/changeset/base/261085 Log: Fix typo in r261084. Add to the gctl_error() an ability to specify error description even if numeric error code is already specified. Also by default set error code to E