diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index 68ddfc8..453b782 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -4877,7 +4877,7 @@ static int dahdi_ioctl_startup(struct file *file, unsigned long data) __dahdi_find_master_span(); } put_span(s); - return 0; + return res; } static int dahdi_ioctl_shutdown(unsigned long data)