Magellan Linux

Annotation of /trunk/kmod/patches/kmod-7-fix-options.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1733 - (hide annotations) (download)
Thu Apr 5 12:44:53 2012 UTC (12 years, 1 month ago) by niro
File size: 946 byte(s)
-fixed patch
1 niro 1732 From 02629fa02e96763db7460a930239cc93649a52f8 Mon Sep 17 00:00:00 2001
2     From: =?utf8?q?Elan=20Ruusam=C3=A4e?= <glen@delfi.ee>
3     Date: Thu, 22 Mar 2012 12:00:16 -0300
4     Subject: [PATCH] modprobe: fix typo in config dump: option->options
5    
6     kmod uses "option MODNAME", not "options MODNAME"
7    
8     This breaks scripts that depend in modprobe -c output grepping
9     ---
10     tools/kmod-modprobe.c | 2 +-
11     1 files changed, 1 insertions(+), 1 deletions(-)
12    
13     diff --git a/tools/kmod-modprobe.c b/tools/kmod-modprobe.c
14     index 4760682..f6d47dc 100644
15     --- a/tools/kmod-modprobe.c
16     +++ b/tools/kmod-modprobe.c
17     @@ -218,7 +218,7 @@ static int show_config(struct kmod_ctx *ctx)
18     { "install", kmod_config_get_install_commands },
19     { "remove", kmod_config_get_remove_commands },
20     { "alias", kmod_config_get_aliases },
21     - { "option", kmod_config_get_options },
22     + { "options", kmod_config_get_options },
23     { "softdep", kmod_config_get_softdeps },
24     };
25     size_t i;
26     --
27     1.7.6.5
28