use pr_err instead of err()

this old function doesn't exist on new kernels. It allows to compile the module on Linux 3.5.