generator: Rearrange argt logically (RHBZ#642934,CVE-2010-3851).