Cock-up
A blunder, mistake, error dates from the early 20th century yet the use of cock remains obscure. The best explanation is that it is simply a variation in close proximity to balls-up.