fortify vsprintf in display_line