summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-06-17 16:42:48 (GMT)
committerThomas Haller <thaller@redhat.com>2014-06-17 16:42:48 (GMT)
commite4c94ea9ed1c391db4619c04512666bc099b3aba (patch)
tree6ce624f7cab9b2744367892a32c019dd6393fbd1 /doc
parentb6cadfefabe1a029ed4188b67663820d27ba044e (diff)
downloadlibnl-e4c94ea9ed1c391db4619c04512666bc099b3aba.zip
libnl-e4c94ea9ed1c391db4619c04512666bc099b3aba.tar.gz
libnl-e4c94ea9ed1c391db4619c04512666bc099b3aba.tar.bz2
doc: fix error in core documentation for nl_cache_mngr_alloc()
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/core.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/core.txt b/doc/core.txt
index 1625575..042369d 100644
--- a/doc/core.txt
+++ b/doc/core.txt
@@ -2709,7 +2709,7 @@ struct nl_cache_mngr *mngr;
// Allocate a new cache manager for RTNETLINK and automatically
// provide the caches added to the manager.
-mngr = nl_cache_mngr_alloc(NETLINK_ROUTE, NL_AUTO_PROVIDE);
+err = nl_cache_mngr_alloc(NULL, NETLINK_ROUTE, NL_AUTO_PROVIDE, &mngr);
----
.Keep track of a cache