summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev/udevadm-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-monitor.c b/udev/udevadm-monitor.c
index ea4b7dccbe..4063c48303 100644
--- a/udev/udevadm-monitor.c
+++ b/udev/udevadm-monitor.c
@@ -184,7 +184,7 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[])
rc = 3;
goto out;
}
- udev_monitor_set_receive_buffer_size(udev, 128*1024*1024);
+ udev_monitor_set_receive_buffer_size(kernel_monitor, 128*1024*1024);
udev_list_entry_foreach(entry, udev_list_get_entry(&subsystem_match_list)) {
const char *subsys = udev_list_entry_get_name(entry);