diff mbox

gcc-plugins: fix spelling mistake: "unkown" -> "unknown"

Message ID 20170218235001.20276-1-colin.king@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

Colin King Feb. 18, 2017, 11:50 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

trivial fix to spelling mistake in error message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 scripts/gcc-plugins/initify_plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kees Cook Feb. 21, 2017, 7:15 p.m. UTC | #1
On Sat, Feb 18, 2017 at 3:50 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> trivial fix to spelling mistake in error message

Thanks! I've already got this updated. I noticed the same thing a
couple weeks ago. :)

-Kees

>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  scripts/gcc-plugins/initify_plugin.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/gcc-plugins/initify_plugin.c b/scripts/gcc-plugins/initify_plugin.c
> index 56ed878..2ed998a 100644
> --- a/scripts/gcc-plugins/initify_plugin.c
> +++ b/scripts/gcc-plugins/initify_plugin.c
> @@ -1846,7 +1846,7 @@ __visible int plugin_init(struct plugin_name_args *plugin_info, struct plugin_gc
>                         continue;
>                 }
>
> -               error(G_("unkown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key);
> +               error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key);
>         }
>
>         register_callback(plugin_name, PLUGIN_INFO, NULL, &initify_plugin_info);
> --
> 2.10.2
>
diff mbox

Patch

diff --git a/scripts/gcc-plugins/initify_plugin.c b/scripts/gcc-plugins/initify_plugin.c
index 56ed878..2ed998a 100644
--- a/scripts/gcc-plugins/initify_plugin.c
+++ b/scripts/gcc-plugins/initify_plugin.c
@@ -1846,7 +1846,7 @@  __visible int plugin_init(struct plugin_name_args *plugin_info, struct plugin_gc
 			continue;
 		}
 
-		error(G_("unkown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key);
+		error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key);
 	}
 
 	register_callback(plugin_name, PLUGIN_INFO, NULL, &initify_plugin_info);