From 49637ff12757aa16823c2b81d500e5e853d03d9d Mon Sep 17 00:00:00 2001 From: INSUN PYO Date: Wed, 21 Jul 2021 10:16:49 +0900 Subject: [PATCH] udev: change the name of udev monitor buffer size Change-Id: Ibf9f2a76da7483751ab921c8e5ae38ac1c1a4d1b --- src/core/udev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/udev.c b/src/core/udev.c index 9209c2b..34fe171 100644 --- a/src/core/udev.c +++ b/src/core/udev.c @@ -31,7 +31,7 @@ #define KERNEL "kernel" #define UDEV "udev" -#define UDEV_MONITOR_SIZE (128*1024) +#define UDEV_MONITOR_BUFFER_SIZE (128*1024) struct uevent_info { struct udev_monitor *mon; @@ -130,9 +130,9 @@ static int uevent_control_start(const char *type, goto stop; } - _I("Set udev monitor buffer size(%d).", UDEV_MONITOR_SIZE); + _I("Set udev monitor buffer size(%d).", UDEV_MONITOR_BUFFER_SIZE); ret = udev_monitor_set_receive_buffer_size(info->mon, - UDEV_MONITOR_SIZE); + UDEV_MONITOR_BUFFER_SIZE); if (ret != 0) { _E("Failed to set receive buffer size."); goto stop; -- 2.7.4