Rip out setting of the log level from udev_new and put it in a new function
This function is internal to systemd code, so external users of libudev will not see those log messages. I think this is better. If we want to allow that, the function could be put in libudev and exported. v2: check that the string is more than one char before stripping quotes
This commit is contained in:
@@ -42,3 +42,5 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(struct udev_monitor*, udev_monitor_unref);
|
||||
#define _cleanup_udev_ctrl_msg_unref_ _cleanup_(udev_ctrl_msg_unrefp)
|
||||
#define _cleanup_udev_monitor_unref_ _cleanup_(udev_monitor_unrefp)
|
||||
#define _cleanup_udev_list_cleanup_ _cleanup_(udev_list_cleanup)
|
||||
|
||||
int udev_parse_config(void);
|
||||
|
||||
Reference in New Issue
Block a user