diff options
author | Karol Latecki <karolx.latecki@intel.com> | 2016-10-19 18:18:16 -0400 |
---|---|---|
committer | Karol Latecki <karolx.latecki@intel.com> | 2016-10-21 10:42:31 +0200 |
commit | 7a7ef4def34d6a2c9b21a9b4135cedd14fb9f72d (patch) | |
tree | cf0df6d5844170f3f2be4559bee695e5f991c3bb /lib/libtle_udp/event.c | |
parent | 128f0192aeb75682f2ed7ff643b4587c7f86f5dc (diff) |
tldk: fix for wrong rte_errno value in event.c
Change-Id: Ia4890e174fa5e19ccfaeb23c1ba3e3d69f841af7
Signed-off-by: Karol Latecki <karolx.latecki@intel.com>
Diffstat (limited to 'lib/libtle_udp/event.c')
-rw-r--r-- | lib/libtle_udp/event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libtle_udp/event.c b/lib/libtle_udp/event.c index 7e340e8..66c5a3b 100644 --- a/lib/libtle_udp/event.c +++ b/lib/libtle_udp/event.c @@ -79,7 +79,7 @@ tle_event_alloc(struct tle_evq *evq, const void *data) evq->nb_free--; h->data = data; } else - rte_errno = -ENOMEM; + rte_errno = ENOMEM; rte_spinlock_unlock(&evq->lock); return h; } |