]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
kconfig: some small fixes
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 14 Apr 2010 03:44:05 +0000 (11:44 +0800)
committerMichal Marek <mmarek@suse.cz>
Wed, 14 Apr 2010 13:34:18 +0000 (15:34 +0200)
- fix a typo in documentation
- fix a typo in a printk on error
- fix comments in dialog_inputbox()

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Documentation/kbuild/kconfig-language.txt
scripts/kconfig/lxdialog/inputbox.c
scripts/kconfig/menu.c

index c412c245848f9116fb05361bb78e5189b43cfd51..b472e4e0ba674ca42c60ff889220f375133d848c 100644 (file)
@@ -181,7 +181,7 @@ Expressions are listed in decreasing order of precedence.
 (7) Returns the result of max(/expr/, /expr/).
 
 An expression can have a value of 'n', 'm' or 'y' (or 0, 1, 2
-respectively for calculations). A menu entry becomes visible when it's
+respectively for calculations). A menu entry becomes visible when its
 expression evaluates to 'm' or 'y'.
 
 There are two types of symbols: constant and non-constant symbols.
index 616c60138183c8c9b74c3f2562f7e4a1e5b6d5d9..dd8e587c50e26eada18fe35995aaa0ec301f42fc 100644 (file)
@@ -180,7 +180,7 @@ do_resize:
                case KEY_LEFT:
                        switch (button) {
                        case -1:
-                               button = 1;     /* Indicates "Cancel" button is selected */
+                               button = 1;     /* Indicates "Help" button is selected */
                                print_buttons(dialog, height, width, 1);
                                break;
                        case 0:
@@ -204,7 +204,7 @@ do_resize:
                                print_buttons(dialog, height, width, 0);
                                break;
                        case 0:
-                               button = 1;     /* Indicates "Cancel" button is selected */
+                               button = 1;     /* Indicates "Help" button is selected */
                                print_buttons(dialog, height, width, 1);
                                break;
                        case 1:
index 21bfb3dbc87a155016a0c651a0f0e8dae2ac0ce8..62e3f15ede0fdb34494124095c2b3ac2c28db016 100644 (file)
@@ -197,7 +197,7 @@ static void sym_check_prop(struct symbol *sym)
                        if ((sym->type == S_STRING || sym->type == S_INT || sym->type == S_HEX) &&
                            prop->expr->type != E_SYMBOL)
                                prop_warn(prop,
-                                   "default for config symbol '%'"
+                                   "default for config symbol '%s'"
                                    " must be a single symbol", sym->name);
                        break;
                case P_SELECT: