[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.49 and 1.50

version 1.49, 2019/07/10 14:21:34 version 1.50, 2019/07/10 14:22:52
Line 1607 
Line 1607 
                 return NULL;                  return NULL;
         }          }
         s = d->slot + bestidx;          s = d->slot + bestidx;
         if (s->name[0] != '\0')          s->vol = MIDI_MAXCTL;
                 s->vol = MIDI_MAXCTL;  
         strlcpy(s->name, name, SLOT_NAMEMAX);          strlcpy(s->name, name, SLOT_NAMEMAX);
         s->serial = d->serial++;          s->serial = d->serial++;
         s->unit = unit;          s->unit = unit;

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50