From 396ceb16bb5deacfb67d9c0cf968e9d34d65ad63 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Mon, 14 Apr 2014 18:56:19 -0400 Subject: [PATCH] ck_ring: Fix typo in type-specialized ck_ring_dequeue_tryspmc. Thanks to Paul Khuong for patch. --- include/ck_ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ck_ring.h b/include/ck_ring.h index 3fcd123..aa803b7 100644 --- a/include/ck_ring.h +++ b/include/ck_ring.h @@ -409,7 +409,7 @@ ck_ring_trydequeue_spmc_##name(struct ck_ring *a, \ struct type *c) \ { \ \ - return _ck_ring_trydequeue_spmc(ring, \ + return _ck_ring_trydequeue_spmc(a, \ b, c, sizeof(struct type)); \ } \ \