diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2004-02-22 01:03:38 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2004-02-22 01:03:38 +0000 |
| commit | 27021df2ff879d40002df59fb8a2246d0f6983df (patch) | |
| tree | 732f3865bbfed99a149b95aa3b7a7c22b7387333 /sys/dev | |
| parent | e821c36489db884758cb8ba00dbaaa6bd4d6b2a1 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/twe/twe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/twe/twe.c b/sys/dev/twe/twe.c index 32cc61d616233..787c49b708d19 100644 --- a/sys/dev/twe/twe.c +++ b/sys/dev/twe/twe.c @@ -273,7 +273,7 @@ twe_del_unit(struct twe_softc *sc, int unit) { int error; - if (unit < 0 || unit > TWE_MAX_UNITS) + if (unit < 0 || unit >= TWE_MAX_UNITS) return (ENXIO); if (sc->twe_drive[unit].td_disk == NULL) |
