summaryrefslogtreecommitdiff
path: root/src/udev/udev-rules.c
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-06 18:35:30 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-06 18:35:30 -0400
commitf90cec7e845b681aeeec55a6711c289b28790742 (patch)
tree00bd1856ed9522ca55bad96d106a462e42f5aef8 /src/udev/udev-rules.c
parent74b55d4d6dd6b3acfb2a40461611eef72906daaf (diff)
Fix ordering of params for conf_files_list_strv
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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 a3c2b2451d..863474ac88 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -1624,7 +1624,7 @@ struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names)
return udev_rules_unref(rules);
udev_rules_check_timestamp(rules);
- r = conf_files_list_strv(&files, NULL, ".rules", (const char **)rules->dirs);
+ r = conf_files_list_strv(&files, ".rules", NULL, (const char **)rules->dirs);
if (r < 0) {
log_error("failed to enumerate rules files: %s\n", strerror(-r));
return udev_rules_unref(rules);