Re-Fix ex2.c

Small fix to correct a mistake in naming.