ろくな or 碌な

I was reading through ドラえもん to pick up some vocabulary, and i came across ろくな. I searched it up in my dictionary and it said that the correct form is 碌な. Is that correct or is the preferred form ろくな?

by GotThatGrass