summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2021-07-21 10:23:35 +0900
committerINSUN PYO <insun.pyo@samsung.com>2021-07-21 10:23:44 +0900
commitf6015ff0665cb78a7f5a57fee68d45d449f213fa (patch)
tree97400bf5c3247d1cd0ab33544fa5f93a129e5b12 /src
parent8477eeb9530b03a650ca02dc9a894fbd10dc213d (diff)
downloaddevice-common-f6015ff0665cb78a7f5a57fee68d45d449f213fa.tar.gz
device-common-f6015ff0665cb78a7f5a57fee68d45d449f213fa.tar.bz2
device-common-f6015ff0665cb78a7f5a57fee68d45d449f213fa.zip
udev: change the name of udev monitor buffer sizesubmit/tizen/20211103.072537
Change-Id: I31a9d54c6aab0ef09fb843dd9e40815e37f210a3
Diffstat (limited to 'src')
-rw-r--r--src/udev/udev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/udev/udev.c b/src/udev/udev.c
index 291e605..61cf1e0 100644
--- a/src/udev/udev.c
+++ b/src/udev/udev.c
@@ -28,7 +28,7 @@
#define EVENT_KERNEL "kernel"
#define EVENT_UDEV "udev"
-#define UDEV_MONITOR_SIZE (128*1024)
+#define UDEV_MONITOR_BUFFER_SIZE (128*1024)
struct uevent_info {
struct udev_monitor *mon;
@@ -141,9 +141,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("fail to set receive buffer size");
goto stop;