summaryrefslogtreecommitdiff
path: root/libkmod
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-05-21 13:15:19 +0200
committerLucas De Marchi <lucas.demarchi@intel.com>2016-05-21 14:27:53 -0300
commit1930899aaed49c96f41dd71da6d19f71f11b5258 (patch)
tree407a8150d3bf013050674dec1cb03ebcadd9c2e7 /libkmod
parent9132c59ebcce5edbf965b4d46415a50d4b70baf8 (diff)
downloadkmod-1930899aaed49c96f41dd71da6d19f71f11b5258.tar.gz
kmod-1930899aaed49c96f41dd71da6d19f71f11b5258.tar.bz2
kmod-1930899aaed49c96f41dd71da6d19f71f11b5258.zip
kmod_module_get_refcnt: fix documentation
Diffstat (limited to 'libkmod')
-rw-r--r--libkmod/libkmod-module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c
index 50b2ff9..1460c67 100644
--- a/libkmod/libkmod-module.c
+++ b/libkmod/libkmod-module.c
@@ -1863,7 +1863,7 @@ done:
* Get the ref count of this @mod, as returned by Linux Kernel, by reading
* /sys filesystem.
*
- * Returns: 0 on success or < 0 on failure.
+ * Returns: the reference count on success or < 0 on failure.
*/
KMOD_EXPORT int kmod_module_get_refcnt(const struct kmod_module *mod)
{