[ovs-dev] [PATCH] fix a build error

Justin Pettit jpettit at nicira.com
Tue Jul 2 04:13:09 UTC 2013


On Jul 1, 2013, at 7:04 PM, YAMAMOTO Takashi <yamt at mwd.biglobe.ne.jp> wrote:

> fix a typo in the following commit.
> 
>> commit 10a89ef04df5669c5cdd02f786150a7ab8454e01
>> Author: Ben Pfaff <blp at nicira.com>
>> Date:   Mon Jun 24 10:54:49 2013 -0700
>> 
>>    Replace all uses of strerror() by ovs_strerror(), for thread safety.
>> 
>>    Signed-off-by: Ben Pfaff <blp at nicira.com>
> Signed-off-by: YAMAMOTO Takashi <yamt at mwd.biglobe.ne.jp>
> ---
> lib/netdev-bsd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
> index f2cf852..401d03a 100644
> --- a/lib/netdev-bsd.c
> +++ b/lib/netdev-bsd.c
> @@ -197,7 +197,7 @@ netdev_bsd_init(void)
>     af_link_sock = socket(AF_LINK, SOCK_DGRAM, 0);
>     status = af_link_sock >= 0 ? 0 : errno;
>     if (status) {
> -        VLOG_ERR("failed to create link socket: %s", Ovs_strerror(status));
> +        VLOG_ERR("failed to create link socket: %s", ovs_strerror(status));
>         close(af_inet_sock);
>         af_inet_sock = -1;
>     }

Thank you!  I applied it to master.

--Justin





More information about the dev mailing list