summaryrefslogtreecommitdiff
path: root/namedev_parse.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-03-01 22:28:51 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:34:29 -0700
commitbd5f8e7cd197dcbb11a159c9d7dca9ae62fdd5e8 (patch)
tree90b5da04232ada8f327588ba9590b8d39b5876a9 /namedev_parse.c
parent63ead27c228f9306f175b14a49df2415d09ece10 (diff)
[PATCH] udev - fix debug info for multiple rule file config
On Sat, Feb 28, 2004 at 09:56:32PM +0100, Kay Sievers wrote: > Andrey pointed out that we don't print the right filename in the debug > output. Here is a fix for that. It applies on top of Andrey's symlink > patch, cause we are touching the same part of the code. The copy/paste devil catched me :) Here is a fixed one.
Diffstat (limited to 'namedev_parse.c')
-rw-r--r--namedev_parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/namedev_parse.c b/namedev_parse.c
index d300b0907d..19acd96ef0 100644
--- a/namedev_parse.c
+++ b/namedev_parse.c
@@ -260,6 +260,7 @@ static int namedev_parse_rules(char *filename)
}
dev.config_line = lineno;
+ strfieldcpy(dev.config_file, filename);
retval = add_config_dev(&dev);
if (retval) {
dbg("add_config_dev returned with error %d", retval);