]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
kmod_module_get_refcnt: fix documentation
authorPeter Wu <peter@lekensteyn.nl>
Sat, 21 May 2016 11:15:19 +0000 (13:15 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 21 May 2016 17:27:53 +0000 (14:27 -0300)
libkmod/libkmod-module.c

index 50b2ff9f5eefb678ba8db852a1cb45ff2f02ed1f..1460c6746cc480dad2779fab4532772affc53e5f 100644 (file)
@@ -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)
 {