Project

General

Profile

Bug #1885 ยป devfs_rules.c.diff

fanch, 10/23/2010 06:14 PM

View differences:

sys/vfs/devfs/devfs_rules.c 2010-10-24 17:12:49 +0200
rule->mntpointlen = len;
}
if (templ->rule_type == DEVFS_RULE_NAME) {
if (templ->rule_type & DEVFS_RULE_NAME) {
len = strlen(templ->name);
if (len > 0) {
rule->name = kstrdup(templ->name, M_DEVFS);
    (1-1/1)