diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-05-14 14:07:21 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-05-14 14:07:21 +0000 |
commit | 9f1667417ad1368c5ff651276e11769ced693b8c (patch) | |
tree | 116910c97bcb8fc04032f1e02854f1fb20dab93d /usr.bin/rcs | |
parent | 6372ac5736d83de66eb7cdd4a29c534c4edf32f3 (diff) |
When assigning a unit number, treat running off the end of the
cd_devs[] array the same as finding a NULL entry.
Fixes inconsistant assignment of unit numbers to media slots on the
Neodio 8-in-1 USB card reader donated by Manuel Pata. Previously the
unit numbers would vary depending on whether it had attached an even
or odd number of times.
'reads ok' marco@ ok miod@
Diffstat (limited to 'usr.bin/rcs')
0 files changed, 0 insertions, 0 deletions