diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-09-03 17:55:24 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-09-03 17:55:24 +0000 |
commit | 0294f219f72954feb54499c984e704b956ac900b (patch) | |
tree | 7761eaf1e890d21520f2790692f055558bb86eaf /sec.h | |
parent | 17625e3c83be2bed2d467d1d0e389ccb45e45b5d (diff) |
Before creating a device, register the major number.
Otherwise we need to clean-up those devices in case of failure, and we
don't.
This fixes the case of accidentally loading zaptel after loading dahdi
(Already fixed in DAHDI).
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4509 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'sec.h')
0 files changed, 0 insertions, 0 deletions