diff mbox series

[1/2] lib: tst_kconfig: Fix typo Constrain -> Constraint

Message ID 20210915143725.13170-2-chrubis@suse.cz
State Accepted
Headers show
Series Two small fixes for kconfig parser | expand

Commit Message

Cyril Hrubis Sept. 15, 2021, 2:37 p.m. UTC
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 lib/tst_kconfig.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Palethorpe Sept. 16, 2021, 10:20 a.m. UTC | #1
Hi,

Reviewed-by: Richard Palethorpe <rpalethorpe@suse.com>

Cyril Hrubis <chrubis@suse.cz> writes:

> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> ---
>  lib/tst_kconfig.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/tst_kconfig.c b/lib/tst_kconfig.c
> index c2b85821b..c9de3017b 100644
> --- a/lib/tst_kconfig.c
> +++ b/lib/tst_kconfig.c
> @@ -497,7 +497,7 @@ void tst_kconfig_check(const char *const kconfigs[])
>  
>  		if (val != 1) {
>  			abort_test = 1;
> -			tst_res(TINFO, "Constrain '%s' not satisfied!", kconfigs[i]);
> +			tst_res(TINFO, "Constraint '%s' not satisfied!", kconfigs[i]);
>  			dump_vars(exprs[i]);
>  		}
>  
> -- 
> 2.32.0
diff mbox series

Patch

diff --git a/lib/tst_kconfig.c b/lib/tst_kconfig.c
index c2b85821b..c9de3017b 100644
--- a/lib/tst_kconfig.c
+++ b/lib/tst_kconfig.c
@@ -497,7 +497,7 @@  void tst_kconfig_check(const char *const kconfigs[])
 
 		if (val != 1) {
 			abort_test = 1;
-			tst_res(TINFO, "Constrain '%s' not satisfied!", kconfigs[i]);
+			tst_res(TINFO, "Constraint '%s' not satisfied!", kconfigs[i]);
 			dump_vars(exprs[i]);
 		}