Patchwork uefi: uefirtvariable: minor cleanup of failure message

login
register
mail settings
Submitter Colin King
Date July 4, 2013, 9:15 a.m.
Message ID <1372929348-22410-1-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/256835/
State Accepted
Headers show

Comments

Colin King - July 4, 2013, 9:15 a.m.
From: Colin Ian King <colin.king@canonical.com>

Minor change, expect -> expected and remove full stop.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/uefi/uefirtvariable/uefirtvariable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Alex Hung - July 4, 2013, 10:19 a.m.
On 07/04/2013 05:15 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Minor change, expect -> expected and remove full stop.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/uefi/uefirtvariable/uefirtvariable.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/uefi/uefirtvariable/uefirtvariable.c b/src/uefi/uefirtvariable/uefirtvariable.c
> index 7c2fc1f..42e4545 100644
> --- a/src/uefi/uefirtvariable/uefirtvariable.c
> +++ b/src/uefi/uefirtvariable/uefirtvariable.c
> @@ -844,8 +844,8 @@ static int setvariable_checkvariable_notfound(
>  			return FWTS_OK;
>  	}
>  	fwts_failed(fw, LOG_LEVEL_HIGH, "UEFIRuntimeSetVariable",
> -		"Failed to set variable with UEFI runtime service., "
> -		"expect the status return EFI_NOT_FOUND.");
> +		"Failed to set variable with UEFI runtime service, "
> +		"expected the status return EFI_NOT_FOUND.");
>  	fwts_uefi_print_status_info(fw, status);
>  	return FWTS_ERROR;
>  }
> 
Acked-by: Alex Hung <alex.hung@canonical.com>
Ivan Hu - July 11, 2013, 1:19 a.m.
On 07/04/2013 05:15 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Minor change, expect -> expected and remove full stop.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/uefi/uefirtvariable/uefirtvariable.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/uefi/uefirtvariable/uefirtvariable.c b/src/uefi/uefirtvariable/uefirtvariable.c
> index 7c2fc1f..42e4545 100644
> --- a/src/uefi/uefirtvariable/uefirtvariable.c
> +++ b/src/uefi/uefirtvariable/uefirtvariable.c
> @@ -844,8 +844,8 @@ static int setvariable_checkvariable_notfound(
>   			return FWTS_OK;
>   	}
>   	fwts_failed(fw, LOG_LEVEL_HIGH, "UEFIRuntimeSetVariable",
> -		"Failed to set variable with UEFI runtime service., "
> -		"expect the status return EFI_NOT_FOUND.");
> +		"Failed to set variable with UEFI runtime service, "
> +		"expected the status return EFI_NOT_FOUND.");
>   	fwts_uefi_print_status_info(fw, status);
>   	return FWTS_ERROR;
>   }
>

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

Patch

diff --git a/src/uefi/uefirtvariable/uefirtvariable.c b/src/uefi/uefirtvariable/uefirtvariable.c
index 7c2fc1f..42e4545 100644
--- a/src/uefi/uefirtvariable/uefirtvariable.c
+++ b/src/uefi/uefirtvariable/uefirtvariable.c
@@ -844,8 +844,8 @@  static int setvariable_checkvariable_notfound(
 			return FWTS_OK;
 	}
 	fwts_failed(fw, LOG_LEVEL_HIGH, "UEFIRuntimeSetVariable",
-		"Failed to set variable with UEFI runtime service., "
-		"expect the status return EFI_NOT_FOUND.");
+		"Failed to set variable with UEFI runtime service, "
+		"expected the status return EFI_NOT_FOUND.");
 	fwts_uefi_print_status_info(fw, status);
 	return FWTS_ERROR;
 }