From c6472e37c09d217b2bba46b5a62b27f37d12c7d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Fri, 20 Oct 2017 16:42:41 +0200 Subject: [PATCH] Fix a variable dereference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ondřej Lysoněk --- tuned/daemon/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuned/daemon/application.py b/tuned/daemon/application.py index b12189f..afb6ca6 100644 --- a/tuned/daemon/application.py +++ b/tuned/daemon/application.py @@ -28,7 +28,7 @@ class Application(object): log.info("dynamic tuning is globally disabled") monitors_repository = monitors.Repository() - udev_buffer_size = config.get_size("udev_buffer_size", consts.CFG_DEF_UDEV_BUFFER_SIZE) + udev_buffer_size = self.config.get_size("udev_buffer_size", consts.CFG_DEF_UDEV_BUFFER_SIZE) hardware_inventory = hardware.Inventory(buffer_size=udev_buffer_size) device_matcher = hardware.DeviceMatcher() device_matcher_udev = hardware.DeviceMatcherUdev()