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:
Zhou Yimin 2014-03-21 14:52:40 +08:00 committed by Michal Privoznik
parent b7a5a6ab57
commit 835a1cdf85
1 changed files with 1 additions and 1 deletions
src/util

View File

@ -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)