Message ID | 1454110075-42525-1-git-send-email-u9012063@gmail.com |
---|---|
State | Accepted |
Headers | show |
Acked-by: Justin Pettit <jpettit@ovn.org> --Justin > On Jan 29, 2016, at 3:27 PM, William Tu <u9012063@gmail.com> wrote: > > Signed-off-by: William Tu <u9012063@gmail.com> > --- > lib/ovs-thread.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c > index 7855b3a..6ebda07 100644 > --- a/lib/ovs-thread.c > +++ b/lib/ovs-thread.c > @@ -119,7 +119,7 @@ TRY_LOCK_FUNCTION(rwlock, trywrlock); > l->where = WHERE; \ > error = pthread_##TYPE##_##FUN(&l->lock); \ > if (OVS_UNLIKELY(error)) { \ > - ovs_abort(error, "pthread_%s_%sfailed", #TYPE, #FUN); \ > + ovs_abort(error, "pthread_%s_%s failed", #TYPE, #FUN); \ > } \ > } > UNLOCK_FUNCTION(mutex, unlock, "<unlocked>"); > -- > 2.5.0 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev
I'll apply it in just a minute. --Justin > On Jan 29, 2016, at 3:51 PM, Justin Pettit <jpettit@ovn.org> wrote: > > Acked-by: Justin Pettit <jpettit@ovn.org> > > --Justin > > >> On Jan 29, 2016, at 3:27 PM, William Tu <u9012063@gmail.com> wrote: >> >> Signed-off-by: William Tu <u9012063@gmail.com> >> --- >> lib/ovs-thread.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c >> index 7855b3a..6ebda07 100644 >> --- a/lib/ovs-thread.c >> +++ b/lib/ovs-thread.c >> @@ -119,7 +119,7 @@ TRY_LOCK_FUNCTION(rwlock, trywrlock); >> l->where = WHERE; \ >> error = pthread_##TYPE##_##FUN(&l->lock); \ >> if (OVS_UNLIKELY(error)) { \ >> - ovs_abort(error, "pthread_%s_%sfailed", #TYPE, #FUN); \ >> + ovs_abort(error, "pthread_%s_%s failed", #TYPE, #FUN); \ >> } \ >> } >> UNLOCK_FUNCTION(mutex, unlock, "<unlocked>"); >> -- >> 2.5.0 >> >> _______________________________________________ >> dev mailing list >> dev@openvswitch.org >> http://openvswitch.org/mailman/listinfo/dev >
diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c index 7855b3a..6ebda07 100644 --- a/lib/ovs-thread.c +++ b/lib/ovs-thread.c @@ -119,7 +119,7 @@ TRY_LOCK_FUNCTION(rwlock, trywrlock); l->where = WHERE; \ error = pthread_##TYPE##_##FUN(&l->lock); \ if (OVS_UNLIKELY(error)) { \ - ovs_abort(error, "pthread_%s_%sfailed", #TYPE, #FUN); \ + ovs_abort(error, "pthread_%s_%s failed", #TYPE, #FUN); \ } \ } UNLOCK_FUNCTION(mutex, unlock, "<unlocked>");
Signed-off-by: William Tu <u9012063@gmail.com> --- lib/ovs-thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)