summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-rules.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-04-06 20:37:03 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-04-07 20:38:19 +0200
commit29162ba05cab721d7a93312077264849b0faee20 (patch)
tree8527e66d224e1f24ebfb9a0e8354a54e105431cc /src/udev/udev-rules.c
parentlocaled: fix invalid free after shifting pointers using strstrip (diff)
downloadsystemd-29162ba05cab721d7a93312077264849b0faee20.tar.xz
systemd-29162ba05cab721d7a93312077264849b0faee20.zip
udev-rules: add missing paren
Diffstat (limited to 'src/udev/udev-rules.c')
-rw-r--r--src/udev/udev-rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index 19bbf295c5..e30c11f2a2 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -35,7 +35,7 @@
#include "user-util.h"
#include "virt.h"
-#define RULES_DIRS (const char* const*) CONF_PATHS_STRV("udev/rules.d")
+#define RULES_DIRS ((const char* const*) CONF_PATHS_STRV("udev/rules.d"))
typedef enum {
OP_MATCH, /* == */