Fix error in ex2-6.c