summaryrefslogtreecommitdiff
path: root/configs/ruby/Ruby.py
diff options
context:
space:
mode:
authorJoel Hestness <jthestness@gmail.com>2014-12-27 13:48:40 -0600
committerJoel Hestness <jthestness@gmail.com>2014-12-27 13:48:40 -0600
commit642b9b4fab0fcba77ed4bc596c4adc92ae0f13c3 (patch)
tree512a314d8416a6b257b58a2e1a84705121814614 /configs/ruby/Ruby.py
parentdf8df4fd0a95763cb0658cbe77615e7deac391d3 (diff)
downloadgem5-642b9b4fab0fcba77ed4bc596c4adc92ae0f13c3.tar.xz
syscall_emul: Return correct writev value
According to Linux man pages, if writev is successful, it returns the total number of bytes written. Otherwise, it returns an error code. Instead of returning 0, return the result from the actual call to writev in the system call.
Diffstat (limited to 'configs/ruby/Ruby.py')
0 files changed, 0 insertions, 0 deletions