Fix sprintf(3) formats - change some %d to %u