Fix a bug in stdout.c.