ACK: [PATCH] cpufreq: make stat failure message a little more human friendly

Alex Hung alex.hung at canonical.com
Tue Apr 26 02:07:58 UTC 2016


On 2016-04-25 10:10 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> The current message could be a bit more useful to non-progammer folk.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/cpu/cpufreq/cpufreq.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/cpu/cpufreq/cpufreq.c b/src/cpu/cpufreq/cpufreq.c
> index 8ab5292..bdcadca 100644
> --- a/src/cpu/cpufreq/cpufreq.c
> +++ b/src/cpu/cpufreq/cpufreq.c
> @@ -760,7 +760,7 @@ static int parse_cpu_info(fwts_framework *fw,
>   	cpu_mkpath(path, sizeof(path), cpu, NULL);
>   	rc = lstat(path, &statbuf);
>   	if (rc) {
> -		fwts_log_warning(fw, "Can't stat cpufreq info!");
> +		fwts_log_warning(fw, "Can't access cpufreq info for CPU %d", cpu->idx);
>   		return FWTS_ERROR;
>   	}
>
>

Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list