Using %d to printf an enum may not be by-the-standard okay.