[PATCH 9/9] route/pktloc: read_pktlocs() always returned success status

Thomas Haller thaller at redhat.com
Tue Jun 10 09:59:45 PDT 2014


Signed-off-by: Thomas Haller <thaller at redhat.com>
---
 lib/route/pktloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/route/pktloc.c b/lib/route/pktloc.c
index 5bb841c..27d63be 100644
--- a/lib/route/pktloc.c
+++ b/lib/route/pktloc.c
@@ -144,7 +144,7 @@ errout_close:
 errout:
 	free(path);
 
-	return 0;
+	return err;
 }
 
 /** @endcond */
-- 
1.9.3




More information about the libnl mailing list