diff options
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc b/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc index 91b7746..1422b59 100644 --- a/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc +++ b/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc @@ -157,7 +157,7 @@ ErrorCode SyntheticPolicy(int sysno) { // TODO(jorgelo): remove this restriction once crbug.com/141694 is fixed. #if defined(__arm__) if (sysno > kArmPublicSysnoCeiling) - return ENOSYS; + return ErrorCode(ENOSYS); #endif // TODO(markus): allow calls to write(). This should start working as soon |