kmod_module_get_refcnt: fix documentation
diff mbox

Message ID 1463829319-1668-1-git-send-email-peter@lekensteyn.nl
State Accepted
Headers show

Commit Message

Peter Wu May 21, 2016, 11:15 a.m. UTC
---
 libkmod/libkmod-module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lucas De Marchi May 21, 2016, 5:28 p.m. UTC | #1
On Sat, May 21, 2016 at 8:15 AM, Peter Wu <peter@lekensteyn.nl> wrote:
> ---
>  libkmod/libkmod-module.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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)
>  {
> --

Applied, thanks.

Lucas De Marchi
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

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)
 {