func can return NULL in case of error, but no checking is done when printing, and unknown_str wasn't being used anywhere.