syscall_emul: update getrlimit to use warn
authorBrandon Potter <brandon.potter@amd.com>
Wed, 22 Apr 2015 14:51:27 +0000 (07:51 -0700)
committerBrandon Potter <brandon.potter@amd.com>
Wed, 22 Apr 2015 14:51:27 +0000 (07:51 -0700)
commit344a437064a94b753119994f9c2ba20b90a25c6a
tree0bbd0627516cfe0a6aef2580b8081f6f7567e236
parent9c6509f19830300aa1eea8e63e6657bdf1cccc53
syscall_emul: update getrlimit to use warn
Don't use std::cerr directly, and just return EINVAL instead of aborting.
src/sim/syscall_emul.hh