mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
devip: panic if we exceed the number of media entries (thanks k0ga)
This commit is contained in:
parent
b4e8108d6c
commit
3f7a323e31
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ addipmedium(Medium *med)
|
|||
media[i] = med;
|
||||
break;
|
||||
}
|
||||
panic("addipmedium: too many mediums");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue