summaryrefslogtreecommitdiffstats
path: root/discover/udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/udev.c')
-rw-r--r--discover/udev.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/discover/udev.c b/discover/udev.c
index 6212e43..0c656f3 100644
--- a/discover/udev.c
+++ b/discover/udev.c
@@ -23,15 +23,6 @@
#include "pb-discover.h"
#include "device-handler.h"
-#if defined(DEBUG)
-#define DBG(fmt, args...) pb_log("DBG: " fmt, ## args)
-#define DBGS(fmt, args...) \
- pb_log("DBG:%s:%d: " fmt, __func__, __LINE__, ## args)
-#else
-#define DBG(fmt, args...)
-#define DBGS(fmt, args...)
-#endif
-
struct pb_udev {
struct udev *udev;
struct udev_monitor *monitor;
@@ -323,7 +314,7 @@ struct pb_udev *udev_init(struct waitset *waitset,
waiter_register_io(waitset, udev_monitor_get_fd(udev->monitor), WAIT_IN,
udev_process, udev->monitor);
- pb_log("%s: waiting on udev\n", __func__);
+ pb_debug("%s: waiting on udev\n", __func__);
return udev;
OpenPOWER on IntegriCloud