libkmod/README: fix grammar

Co-authored-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/378
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
This commit is contained in:
Tobias Stoeckmann 2025-06-19 18:54:54 +02:00 committed by Lucas De Marchi
parent 41b1798768
commit 049c55df47

View File

@ -3,18 +3,19 @@ libkmod - linux kernel module handling library
ABSTRACT ABSTRACT
======== ========
libkmod was created to allow programs to easily insert, remove and libkmod was created to allow programs to easily insert, remove and list modules,
list modules, also checking its properties, dependencies and aliases. also checking their properties, dependencies and aliases.
there is no shared/global context information and it can be used by The library does not keep a shared/global context information, thus it can be
multiple sites on a single program, also being able to be used from used by multiple sites on a single program. One is able to use libkmod from
threads, although it's not thread safe (you must lock explicitly). threads, although the user must lock explicitly, since the library is not thread
safe.
OVERVIEW OVERVIEW
======== ========
Every user should create and manage it's own library context with: All users should create and manage their own library context with:
struct kmod_ctx *ctx = kmod_new(kernel_dirname); struct kmod_ctx *ctx = kmod_new(kernel_dirname);
kmod_unref(ctx); kmod_unref(ctx);