From e9f5f2e74988a7715637ff8d0de30525eba650e7 Mon Sep 17 00:00:00 2001 From: lawrancejing Date: Tue, 24 Sep 2013 10:05:37 +0800 Subject: [PATCH] conf: Fix virNetworkAssignDef's comment. --- src/conf/network_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/network_conf.c b/src/conf/network_conf.c index 6968e25a34..c877a6daa7 100644 --- a/src/conf/network_conf.c +++ b/src/conf/network_conf.c @@ -333,7 +333,7 @@ virNetworkObjAssignDef(virNetworkObjPtr network, * def. For an existing network, use "live" and current state of the * network to determine which to replace. * - * Returns -1 on failure, 0 on success. + * Returns NULL on error, virNetworkObjPtr on success. */ virNetworkObjPtr virNetworkAssignDef(virNetworkObjListPtr nets,