Yang, Sheng wrote:
>>> +           return -1;
>>>
>>>       
>> -1 is -EPERM.  We need a real, more suitable, error code here.
>>     
>
> How about using -EINVAL? But the comment of it is "Invalid argument"...
> I can't find more one here...
>
>   

EINVAL usually means a user-supplied argument is incorrect.  The best 
fit I can find is EIO, as it implies a hardware issue.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to