[BACK]Return to dev.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sndiod

Diff for /src/usr.bin/sndiod/dev.c between version 1.17 and 1.18

version 1.17, 2014/06/02 07:51:25 version 1.18, 2015/09/05 11:19:20
Line 1452 
Line 1452 
         }          }
   
         /*          /*
          * 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 &&
Line 1470 
Line 1470 
         }          }
   
         /*          /*
          * 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;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18