From 4142b06e2d60734eb7f6dda5edc212993c461f0a Mon Sep 17 00:00:00 2001 From: Xiaolong Ye Date: Wed, 5 Jun 2019 15:18:29 +0800 Subject: [PATCH] eal: correct log for alarm error Fixes: af75078fece3 ("first public release") Fixes: 764bf26873b9 ("add FreeBSD support") Cc: stable@dpdk.org Signed-off-by: Xiaolong Ye Reviewed-by: David Marchand --- lib/librte_eal/freebsd/eal/eal.c | 2 +- lib/librte_eal/linux/eal/eal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/freebsd/eal/eal.c b/lib/librte_eal/freebsd/eal/eal.c index 97633a55ad..1364d55c93 100644 --- a/lib/librte_eal/freebsd/eal/eal.c +++ b/lib/librte_eal/freebsd/eal/eal.c @@ -694,7 +694,7 @@ rte_eal_init(int argc, char **argv) } if (rte_eal_alarm_init() < 0) { - rte_eal_init_alert("Cannot init interrupt-handling thread"); + rte_eal_init_alert("Cannot init alarm"); /* rte_eal_alarm_init sets rte_errno on failure. */ return -1; } diff --git a/lib/librte_eal/linux/eal/eal.c b/lib/librte_eal/linux/eal/eal.c index d96ed3a7cf..dfbbeddc4e 100644 --- a/lib/librte_eal/linux/eal/eal.c +++ b/lib/librte_eal/linux/eal/eal.c @@ -1045,7 +1045,7 @@ rte_eal_init(int argc, char **argv) } if (rte_eal_alarm_init() < 0) { - rte_eal_init_alert("Cannot init interrupt-handling thread"); + rte_eal_init_alert("Cannot init alarm"); /* rte_eal_alarm_init sets rte_errno on failure. */ return -1; } -- 2.20.1