eal: correct log for alarm error
authorXiaolong Ye <xiaolong.ye@intel.com>
Wed, 5 Jun 2019 07:18:29 +0000 (15:18 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 27 Jun 2019 08:33:06 +0000 (10:33 +0200)
Fixes: af75078fece3 ("first public release")
Fixes: 764bf26873b9 ("add FreeBSD support")
Cc: stable@dpdk.org
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/freebsd/eal/eal.c
lib/librte_eal/linux/eal/eal.c

index 97633a5..1364d55 100644 (file)
@@ -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;
        }
index d96ed3a..dfbbedd 100644 (file)
@@ -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;
        }