diff options
author | Thomas Haller <thaller@redhat.com> | 2014-06-17 16:42:48 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-06-17 16:42:48 (GMT) |
commit | e4c94ea9ed1c391db4619c04512666bc099b3aba (patch) | |
tree | 6ce624f7cab9b2744367892a32c019dd6393fbd1 /doc | |
parent | b6cadfefabe1a029ed4188b67663820d27ba044e (diff) | |
download | libnl-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.txt | 2 |
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 |