Update upgrade.c
Update upgrade.c

This is not optimal, but it fixes the typo in the case the number is 1.

junovitch/pkg,skoef/pkg,Open343/pkg,skoef/pkg,en90/pkg,Open343/pkg,khorben/pkg,junovitch/pkg,khorben/pkg,khorben/pkg,en90/pkg