]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
libkmod: Fix casing in error output
authorDave Reisner <dreisner@archlinux.org>
Wed, 4 Jan 2012 15:59:49 +0000 (10:59 -0500)
committerDave Reisner <dreisner@archlinux.org>
Wed, 4 Jan 2012 15:59:49 +0000 (10:59 -0500)
libkmod/libkmod-module.c
libkmod/libkmod.c

index 127975939ce871cb08cf5da969ac55ae87d6cb92..f2359a9d7fac07461ab85c2e98a214843b5cc061 100644 (file)
@@ -718,7 +718,7 @@ KMOD_EXPORT int kmod_module_remove_module(struct kmod_module *mod,
 
        err = delete_module(mod->name, flags);
        if (err != 0) {
-               ERR(mod->ctx, "Could not remove '%s': %s\n", mod->name,
+               ERR(mod->ctx, "could not remove '%s': %s\n", mod->name,
                                                        strerror(-err));
                return err;
        }
@@ -758,7 +758,7 @@ KMOD_EXPORT int kmod_module_insert_module(struct kmod_module *mod,
 
        path = kmod_module_get_path(mod);
        if (path == NULL) {
-               ERR(mod->ctx, "Could not find module by name='%s'\n", mod->name);
+               ERR(mod->ctx, "could not find module by name='%s'\n", mod->name);
                return -ENOSYS;
        }
 
index 7acd8d884a772df1afc1c07aaf3ebd5e3da26739..4227eb63b19dcc85b005ae9bd109b946c6982998 100644 (file)
@@ -459,7 +459,7 @@ char *kmod_search_moddep(struct kmod_ctx *ctx, const char *name)
 
        idx = index_file_open(fn);
        if (idx == NULL) {
-               ERR(ctx, "Could not open moddep file '%s'\n", fn);
+               ERR(ctx, "could not open moddep file '%s'\n", fn);
                return NULL;
        }