syscall: Fix TTY emulation in fstat() user-mode simulation for fd 1 (stdout).
authorMichael Adler <Michael.Adler@intel.com>
Thu, 24 Jul 2008 23:31:33 +0000 (16:31 -0700)
committerMichael Adler <Michael.Adler@intel.com>
Thu, 24 Jul 2008 23:31:33 +0000 (16:31 -0700)
commitf3a3ab7f2cfdae687a1dc07dff10c7fa4bde921c
treea8ad66be5ea82dfd69c31bb34629dce3ca506673
parent5f42bfcd56c84f6fe938b88411265359fc702110
syscall: Fix TTY emulation in fstat() user-mode simulation for fd 1 (stdout).
The code didn't set S_IFCHR in the st_mode
src/sim/syscall_emul.hh