devfs_rules.c.diff

fanch, 10/23/2010 06:14 PM

Download (357 Bytes)

View differences:

sys/vfs/devfs/devfs_rules.c 2010-10-24 17:12:49 +0200
99 99
		rule->mntpointlen = len;
100 100
	}
101 101

  
102
	if (templ->rule_type == DEVFS_RULE_NAME) {
102
	if (templ->rule_type & DEVFS_RULE_NAME) {
103 103
		len = strlen(templ->name);
104 104
		if (len > 0) {
105 105
			rule->name = kstrdup(templ->name, M_DEVFS);