dtlk: fix error checks in module_init()