eal/linux: change udev debug message
The debug message was poorly worded and did not include the
part that would be useful. I.e it never said what was being ignored.
Change it to print the message so that if udev changes format or
other subsystems need to be added then the necessary information
will be in the debug log.
Fixes: 0d0f478d04
("eal/linux: add uevent parse and process")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jeff Guo <jia.guo@intel.com>
This commit is contained in:
parent
e356aa46ad
commit
64201f1059
@ -234,8 +234,7 @@ dev_uev_handler(__rte_unused void *param)
|
||||
|
||||
ret = dev_uev_parse(buf, &uevent, EAL_UEV_MSG_LEN);
|
||||
if (ret < 0) {
|
||||
RTE_LOG(DEBUG, EAL, "It is not an valid event "
|
||||
"that need to be handle.\n");
|
||||
RTE_LOG(DEBUG, EAL, "Ignoring uevent '%s'\n", buf);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user