Fixed printf warnings.