diff options
author | Paul Moore <pmoore@redhat.com> | 2014-05-08 10:59:11 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-05-08 11:11:29 -0400 |
commit | 5bfd306219835ff01efd611921ab64fd7ea10918 (patch) | |
tree | c51b5be784e764f032f5dbd3af48d6f189f32d43 /tests/26-sim-arch_all_be_basic.c | |
parent | f05fc7cbc294f95fd62fb0aea52561c14f52aba9 (diff) | |
download | libseccomp-5bfd306219835ff01efd611921ab64fd7ea10918.tar.gz |
tests: update the tests to use the new architecture resolving functionality
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tests/26-sim-arch_all_be_basic.c')
-rw-r--r-- | tests/26-sim-arch_all_be_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/26-sim-arch_all_be_basic.c b/tests/26-sim-arch_all_be_basic.c index be892fb..251dcf7 100644 --- a/tests/26-sim-arch_all_be_basic.c +++ b/tests/26-sim-arch_all_be_basic.c @@ -43,7 +43,7 @@ int main(int argc, char *argv[]) if (rc != 0) goto out; - rc = seccomp_arch_add(ctx, SCMP_ARCH_MIPS); + rc = seccomp_arch_add(ctx, seccomp_arch_resolve_name("mips")); if (rc != 0) goto out; |