summaryrefslogtreecommitdiffstats
path: root/lib/libtle_udp/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libtle_udp/event.c')
-rw-r--r--lib/libtle_udp/event.c2
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;
}