mirror of https://github.com/ericonr/sndio.git
s/xfree/free in comments
This commit is contained in:
parent
ebed8a554c
commit
f2b6fd9f4b
|
@ -1453,7 +1453,7 @@ slot_new(struct dev *d, char *who, struct slotops *ops, void *arg, int mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* find a xfree controller slot with the same name/unit
|
* find a free controller slot with the same name/unit
|
||||||
*/
|
*/
|
||||||
for (i = 0, s = d->slot; i < DEV_NSLOT; i++, s++) {
|
for (i = 0, s = d->slot; i < DEV_NSLOT; i++, s++) {
|
||||||
if (s->ops == NULL &&
|
if (s->ops == NULL &&
|
||||||
|
@ -1471,7 +1471,7 @@ slot_new(struct dev *d, char *who, struct slotops *ops, void *arg, int mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* couldn't find a matching slot, pick oldest xfree slot
|
* couldn't find a matching slot, pick oldest free slot
|
||||||
* and set its name/unit
|
* and set its name/unit
|
||||||
*/
|
*/
|
||||||
bestser = 0;
|
bestser = 0;
|
||||||
|
|
Loading…
Reference in New Issue