On 08/29/2011 03:43 PM, Sasha Levin wrote:
On Mon, 2011-08-29 at 15:37 +0300, Avi Kivity wrote: > On 08/29/2011 03:34 PM, Sasha Levin wrote: > > Cc: Avi Kivity<avi@xxxxxxxxxx> > > Cc: Marcelo Tosatti<mtosatti@xxxxxxxxxx> > > Signed-off-by: Sasha Levin<levinsasha928@xxxxxxxxx> > > Thanks, applied. > > > +Returns: 0 on success, !0 on error > > + > > -1 (I fixed this). > Why -1? It could be anything< 0, no?
No. ioctl()s (and most system calls) return -1 on error and set errno. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html