Made resource allocation use printd instead of printk