summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorJason Lowe-Power <jason@lowepower.com>2018-03-09 10:58:44 -0800
committerJason Lowe-Power <jason@lowepower.com>2018-03-15 20:45:34 +0000
commit1e4ce6d54cc027dabd87f77b545c91f304aecc0d (patch)
treec184b8d7887469be26832882888b1de6e8f518c2 /src/sim
parent823d9d177fded16af07114d70b5c26caaec6aa00 (diff)
downloadgem5-1e4ce6d54cc027dabd87f77b545c91f304aecc0d.tar.xz
sim-se: Fix fallthrough in prlimit
Change-Id: Ieec4651000b3b4de05ba5ba11fdfa5392a5477e7 Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/8904 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/syscall_emul.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh
index eaa5e542c..e5b0f455a 100644
--- a/src/sim/syscall_emul.hh
+++ b/src/sim/syscall_emul.hh
@@ -1731,6 +1731,7 @@ prlimitFunc(SyscallDesc *desc, int callnum, Process *process,
rlp->rlim_cur = rlp->rlim_max = 256*1024*1024;
rlp->rlim_cur = TheISA::htog(rlp->rlim_cur);
rlp->rlim_max = TheISA::htog(rlp->rlim_max);
+ break;
default:
warn("prlimit: unimplemented resource %d", resource);
return -EINVAL;