diff options
Diffstat (limited to 'src/arch-ppc64-syscalls.c')
-rw-r--r-- | src/arch-ppc64-syscalls.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arch-ppc64-syscalls.c b/src/arch-ppc64-syscalls.c index 3ebd086..47cb56c 100644 --- a/src/arch-ppc64-syscalls.c +++ b/src/arch-ppc64-syscalls.c @@ -507,15 +507,15 @@ const char *ppc64_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 *ppc64_syscall_iterate_name(unsigned int spot) +const struct arch_syscall_def *ppc64_syscall_iterate(unsigned int spot) { /* XXX - no safety checks here */ - return ppc64_syscall_table[spot].name; + return &ppc64_syscall_table[spot]; } |