sbin/hammer2: ec -> ecode for consistency