diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-04-20 17:45:32 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-04-20 17:45:32 +0000 |
commit | 95b02815da7be3a9adaac7a6f089140cac5c782d (patch) | |
tree | 9e52d23618deed966ecaed66a383a8e8cd6ed566 /usr.sbin/setfmac | |
parent | abf7be003d07779b5fbbf3a610946dc6e8648794 (diff) | |
download | src-95b02815da7be3a9adaac7a6f089140cac5c782d.tar.gz src-95b02815da7be3a9adaac7a6f089140cac5c782d.zip |
devclass_get_maxunit() returns n+1 with n starting at 0.
So if we have channel 0..3 devclass_get_maxunit is 4.
It's never been a problem as devclass_get_device() has
catched a possibly bad input.
Discussed with: scottl
Notes
Notes:
svn path=/head/; revision=178339
Diffstat (limited to 'usr.sbin/setfmac')
0 files changed, 0 insertions, 0 deletions