mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
committed by
Michal Privoznik
parent
b7a5a6ab57
commit
835a1cdf85
@@ -1365,7 +1365,7 @@ virLogGetNbOutputs(void)
|
||||
* 3: WARNING
|
||||
* 4: ERROR
|
||||
*
|
||||
* Returns the parsed log level or -1 on error.
|
||||
* Returns 0 if successful, -1 in case of error.
|
||||
*/
|
||||
int
|
||||
virLogParseDefaultPriority(const char *priority)
|
||||
|
||||
Reference in New Issue
Block a user