dinput: Replace perror with more appropriate ERR and WARN.