Fixed FP for nullpointer dereference when using putchar.