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 1279759..f2359a9 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 7acd8d8..4227eb6 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;
        }