From: Dave Reisner Date: Wed, 4 Jan 2012 15:59:49 +0000 (-0500) Subject: libkmod: Fix casing in error output X-Git-Tag: v3~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b787b5693d54747ea7d3a70a318662e907021604;p=thirdparty%2Fkmod.git libkmod: Fix casing in error output --- diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c index 12797593..f2359a9d 100644 --- a/libkmod/libkmod-module.c +++ b/libkmod/libkmod-module.c @@ -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; } diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index 7acd8d88..4227eb63 100644 --- a/libkmod/libkmod.c +++ b/libkmod/libkmod.c @@ -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; }