=================================================================== RCS file: /cvs/prex-old/dev/core/config_search.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- prex-old/dev/core/config_search.c 2008/08/08 13:37:11 1.1 +++ prex-old/dev/core/config_search.c 2008/08/12 12:30:52 1.2 @@ -1,5 +1,5 @@ /* - * $Id: config_search.c,v 1.1 2008/08/08 12:37:11 nbrk Exp $ + * $Id: config_search.c,v 1.2 2008/08/12 11:30:52 nbrk Exp $ */ #include @@ -61,12 +61,12 @@ hedrvp = config_find_driver(atp->at_helpername); /* match helper */ - if (hedrvp->dr_match != NULL && hedrvp->dr_match(parent, parent->dv_data) < 1) + if (hedrvp->dr_match != NULL && hedrvp->dr_match(parent, aux) < 1) break; /* not matched */ } /* match device */ - if (chdrvp->dr_match != NULL && chdrvp->dr_match(parent, parent->dv_data) < 1) + if (chdrvp->dr_match != NULL && chdrvp->dr_match(parent, aux) < 1) break; /* not matched */ /* allocate device */