summaryrefslogtreecommitdiff
path: root/file_handle.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2016-12-26 10:26:03 +0000
committerDmitry V. Levin <ldv@altlinux.org>2016-12-26 10:43:34 +0000
commit7fa3d78319b20a996923f9b665afc3a3571ed08b (patch)
treec1fcdd2b642ebc521fea460e8aa26a0a5295270c /file_handle.c
parente625443bb501c99e3cbed7cf041ef3036c7955f0 (diff)
downloadstrace-7fa3d78319b20a996923f9b665afc3a3571ed08b.tar.gz
Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t
Remove temporary types created for transition from long to kernel_ulong_t. Automatically replace kernel_scno_t and kernel_ureg_t with kernel_ulong_t using $ git grep -El 'kernel_(scno|ureg)_t' | xargs sed -ri 's/kernel_(scno|ureg)_t/kernel_ulong_t/g' * kernel_types.h (kernel_scno_t, kernel_ureg_t): Remove. All users updated.
Diffstat (limited to 'file_handle.c')
-rw-r--r--file_handle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file_handle.c b/file_handle.c
index 27e6d446d..f2f0b22dd 100644
--- a/file_handle.c
+++ b/file_handle.c
@@ -41,7 +41,7 @@ typedef struct {
SYS_FUNC(name_to_handle_at)
{
file_handle_header h;
- const kernel_ureg_t addr = tcp->u_arg[2];
+ const kernel_ulong_t addr = tcp->u_arg[2];
if (entering(tcp)) {
/* dirfd */
@@ -106,7 +106,7 @@ SYS_FUNC(name_to_handle_at)
SYS_FUNC(open_by_handle_at)
{
file_handle_header h;
- const kernel_ureg_t addr = tcp->u_arg[1];
+ const kernel_ulong_t addr = tcp->u_arg[1];
/* mount_fd */
printfd(tcp, tcp->u_arg[0]);