[libvirt PATCH 06/42] systemd: Rename socket_in_def -> socket_in_default

Andrea Bolognani abologna at redhat.com
Mon Sep 25 18:58:04 UTC 2023


The meaning of the _def suffix might not be immediately obvious,
especially since it's also used to refer to the output of the
meson-gen-def.py script elsewhere in the same file.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 src/meson.build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/meson.build b/src/meson.build
index 28e4d0cc4e..7b6ce6d32f 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -826,12 +826,12 @@ if conf.has('WITH_LIBVIRTD')
 
       foreach socket : unit.get('sockets', [ 'main', 'ro', 'admin' ])
         if socket == 'main'
-          socket_in_def = 'remote' / 'libvirtd.socket.in'
-          socket_in = unit.get('socket_in', socket_in_def)
+          socket_in_default = 'remote' / 'libvirtd.socket.in'
+          socket_in = unit.get('socket_in', socket_in_default)
           socket_out = '@0 at .socket'.format(unit['service'])
         else
-          socket_in_def = 'remote' / 'libvirtd- at 0@.socket.in'.format(socket)
-          socket_in = unit.get('socket_ at 0@_in'.format(socket), socket_in_def)
+          socket_in_default = 'remote' / 'libvirtd- at 0@.socket.in'.format(socket)
+          socket_in = unit.get('socket_ at 0@_in'.format(socket), socket_in_default)
           socket_out = '@0 at -@1 at .socket'.format(unit['service'], socket)
         endif
         configure_file(
-- 
2.41.0



More information about the libvir-list mailing list