mirror of
https://github.com/ericonr/sndio.git
synced 2024-02-18 04:45:21 -06:00
s/xfree/free in comments
This commit is contained in:
parent
043bb0950a
commit
e1f36eec03
@ -1495,7 +1495,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++) {
|
||||
if (s->ops == NULL &&
|
||||
@ -1513,7 +1513,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
|
||||
*/
|
||||
bestser = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user