Skip to content

Commit

Permalink
doc: fix error in core documentation for nl_cache_mngr_alloc()
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Haller <thaller@redhat.com>
  • Loading branch information
thom311 committed Jun 17, 2014
1 parent b6cadfe commit e4c94ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/core.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4c94ea

Please sign in to comment.