diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-12-06 14:22:11 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-12-06 14:42:25 (GMT) |
commit | fb32f6e6c0112364ee1c605c62be91a370002e6b (patch) | |
tree | e68d69f050b0a2486b04fa19205f76c04ea5b397 /lib | |
parent | 44880b68d847894cc71ec0bc5f774c2ccd88a0bf (diff) | |
download | libnl-fb32f6e6c0112364ee1c605c62be91a370002e6b.zip libnl-fb32f6e6c0112364ee1c605c62be91a370002e6b.tar.gz libnl-fb32f6e6c0112364ee1c605c62be91a370002e6b.tar.bz2 |
link: fix documentation for rtnl_link_get_carrier_changes
The doxygen comment of rtnl_link_get_carrier_changes still describes the
initially implemented behaviour and was not updated, when the signature
was changed as part of #119. Adjust it accordingly.
Fixes: 0c4b2ea6d17b ("link: add support for IFLA_CARRIER_CHANGES")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
https://github.com/thom311/libnl/pull/120
Diffstat (limited to 'lib')
-rw-r--r-- | lib/route/link.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/route/link.c b/lib/route/link.c index f842810..b26f871 100644 --- a/lib/route/link.c +++ b/lib/route/link.c @@ -2327,8 +2327,9 @@ uint8_t rtnl_link_get_carrier(struct rtnl_link *link) /** * Return carrier on/off changes of link object * @arg link Link object + * @arg carrier_changes Pointer to store number of carrier changes * - * @return Carrier changes. + * @return 0 on success, negative error number otherwise */ int rtnl_link_get_carrier_changes(struct rtnl_link *link, uint32_t *carrier_changes) { |