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 50b2ff9..1460c67 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)
 {