/trunk/uspace/lib/libfs/libfs.c |
---|
175,7 → 175,7 |
len = 0; |
/* match the component */ |
while (tmp && !ops->match(tmp, component)) |
while (tmp && !ops->match(cur, tmp, component)) |
tmp = ops->sibling_get(tmp); |
/* handle miss: match amongst siblings */ |
/trunk/uspace/lib/libfs/libfs.h |
---|
42,7 → 42,7 |
#include <async.h> |
typedef struct { |
bool (* match)(void *, const char *); |
bool (* match)(void *, void *, const char *); |
void * (* create)(int); |
void (* destroy)(void *); |
bool (* link)(void *, void *, const char *); |