fwts_uefi: Fixing tiny typos in the uefi driver

Message ID 20180613063423.1437-1-colin.king@canonical.com
State Accepted
Headers show
Series
  • fwts_uefi: Fixing tiny typos in the uefi driver
Related show

Commit Message

Colin King June 13, 2018, 6:34 a.m.
From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>

Minor typo fixes

Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/lib/src/fwts_uefi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Alex Hung June 13, 2018, 6:48 a.m. | #1
On 2018-06-12 11:34 PM, Colin King wrote:
> From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
> 
> Minor typo fixes
> 
> Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/lib/src/fwts_uefi.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/lib/src/fwts_uefi.c b/src/lib/src/fwts_uefi.c
> index 544145fa..e200904d 100644
> --- a/src/lib/src/fwts_uefi.c
> +++ b/src/lib/src/fwts_uefi.c
> @@ -506,13 +506,13 @@ char *fwts_uefi_attribute_info(uint32_t attr)
>   	if (attr & FWTS_UEFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS) {
>   		if (*str)
>   			strcat(str, ",");
> -		strcat(str, "AuthenicatedWrite");
> +		strcat(str, "AuthenticatedWrite");
>   	}
>   
>   	if (attr & FWTS_UEFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS) {
>   		if (*str)
>   			strcat(str, ",");
> -		strcat(str, "TimeBaseAuthenicatedWrite");
> +		strcat(str, "TimeBasedAuthenticatedWrite");
>   	}
>   
>   	return str;
> 


Acked-by: Alex Hung <alex.hung@canonical.com>
ivanhu June 19, 2018, 2:55 a.m. | #2
On 06/13/2018 02:34 PM, Colin King wrote:
> From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
>
> Minor typo fixes
>
> Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/lib/src/fwts_uefi.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/lib/src/fwts_uefi.c b/src/lib/src/fwts_uefi.c
> index 544145fa..e200904d 100644
> --- a/src/lib/src/fwts_uefi.c
> +++ b/src/lib/src/fwts_uefi.c
> @@ -506,13 +506,13 @@ char *fwts_uefi_attribute_info(uint32_t attr)
>  	if (attr & FWTS_UEFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS) {
>  		if (*str)
>  			strcat(str, ",");
> -		strcat(str, "AuthenicatedWrite");
> +		strcat(str, "AuthenticatedWrite");
>  	}
>  
>  	if (attr & FWTS_UEFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS) {
>  		if (*str)
>  			strcat(str, ",");
> -		strcat(str, "TimeBaseAuthenicatedWrite");
> +		strcat(str, "TimeBasedAuthenticatedWrite");
>  	}
>  
>  	return str;

Acked-by: Ivan Hu <ivan.hu@canonical.com>

Patch

diff --git a/src/lib/src/fwts_uefi.c b/src/lib/src/fwts_uefi.c
index 544145fa..e200904d 100644
--- a/src/lib/src/fwts_uefi.c
+++ b/src/lib/src/fwts_uefi.c
@@ -506,13 +506,13 @@  char *fwts_uefi_attribute_info(uint32_t attr)
 	if (attr & FWTS_UEFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS) {
 		if (*str)
 			strcat(str, ",");
-		strcat(str, "AuthenicatedWrite");
+		strcat(str, "AuthenticatedWrite");
 	}
 
 	if (attr & FWTS_UEFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS) {
 		if (*str)
 			strcat(str, ",");
-		strcat(str, "TimeBaseAuthenicatedWrite");
+		strcat(str, "TimeBasedAuthenticatedWrite");
 	}
 
 	return str;