mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-23 11:52:20 +00:00
virlog: Modify virLogParseDefaultPriority's comment of return value
virLogParseDefaultPriority's successful return value is the same as virLogSetDefaultPriority's successful return value. So it should be 0 rather than the parsed log level. Signed-off-by: Zhou Yimin <zhouyimin@huawei.com>
This commit is contained in:
parent
b7a5a6ab57
commit
835a1cdf85
@ -1365,7 +1365,7 @@ virLogGetNbOutputs(void)
|
|||||||
* 3: WARNING
|
* 3: WARNING
|
||||||
* 4: ERROR
|
* 4: ERROR
|
||||||
*
|
*
|
||||||
* Returns the parsed log level or -1 on error.
|
* Returns 0 if successful, -1 in case of error.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
virLogParseDefaultPriority(const char *priority)
|
virLogParseDefaultPriority(const char *priority)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user