Hi,

On Mon, Feb 15, 2016 at 03:14:21PM -0200, Thadeu Lima de Souza Cascardo wrote:
> Instead of reading
> 
> "error receiving Ethernet packet on Permission denied: ens3",
> 
> it should read
> 
> "error receiving Ethernet packet on ens3: Permission denied".

It seems to me that the aim of this patch is to make the error message
format consistent with something else. But I think that if you wish to do
that you should make all other messages that make use of netdev names or
strerror, at least within the same source file, consistent.

> Signed-off-by: Thadeu Lima de Souza Cascardo <casca...@redhat.com>
> ---
>  lib/netdev-linux.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
> index 393b4cc..d58c1b1 100644
> --- a/lib/netdev-linux.c
> +++ b/lib/netdev-linux.c
> @@ -1107,7 +1107,7 @@ netdev_linux_rxq_recv(struct netdev_rxq *rxq_, struct 
> dp_packet **packets,
>      if (retval) {
>          if (retval != EAGAIN && retval != EMSGSIZE) {
>              VLOG_WARN_RL(&rl, "error receiving Ethernet packet on %s: %s",
> -                         ovs_strerror(errno), netdev_rxq_get_name(rxq_));
> +                         netdev_rxq_get_name(rxq_), ovs_strerror(errno));
>          }
>          dp_packet_delete(buffer);
>      } else {
> -- 
> 2.5.0
> 
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to