[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCHv3 4/4] Reword error message for oversized cpu time fields



On 01/22/2014 06:37 AM, Ján Tomko wrote:
> ---
>  src/nodeinfo.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

ACK.  Not like this error will ever be hit in real life.

> diff --git a/src/nodeinfo.c b/src/nodeinfo.c
> index 9f82330..ed7accc 100644
> --- a/src/nodeinfo.c
> +++ b/src/nodeinfo.c
> @@ -681,7 +681,8 @@ virNodeCPUStatsAssign(virNodeCPUStatsPtr param,
>  {
>      if (virStrcpyStatic(param->field, name) == NULL) {
>          virReportError(VIR_ERR_INTERNAL_ERROR,
> -                       "%s", _("Field kernel cpu time too long for destination"));
> +                       "%s", _("kernel cpu time field is too long"
> +                               " for the destination"));
>          return -1;
>      }
>      param->value = value;
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]