diff options
Diffstat (limited to 'src/arch-mips64n32-syscalls.c')
-rw-r--r-- | src/arch-mips64n32-syscalls.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arch-mips64n32-syscalls.c b/src/arch-mips64n32-syscalls.c index 3484882..1525f8b 100644 --- a/src/arch-mips64n32-syscalls.c +++ b/src/arch-mips64n32-syscalls.c @@ -510,15 +510,15 @@ const char *mips64n32_syscall_resolve_num(int num) } /** - * Iterate through the syscall table and return the syscall name + * Iterate through the syscall table and return the syscall mapping * @param spot the offset into the syscall table * - * Return the syscall name at position @spot or NULL on failure. This function - * should only ever be used internally by libseccomp. + * Return the syscall mapping at position @spot or NULL on failure. This + * function should only ever be used internally by libseccomp. * */ -const char *mips64n32_syscall_iterate_name(unsigned int spot) +const struct arch_syscall_def *mips64n32_syscall_iterate(unsigned int spot) { /* XXX - no safety checks here */ - return mips64n32_syscall_table[spot].name; + return &mips64n32_syscall_table[spot]; } |