summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-12-30 12:32:54 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-31 17:08:29 +0000
commitb47198872c3f2ee34ada7887431e0fa4cadda98d (patch)
treec0927fbb64d4d618fb659b26923bd9f6919b70d7 /meta/recipes-devtools/strace
parente9a6f3c6f912a6f7e0ace9194491baefceff2b0b (diff)
downloadpoky-b47198872c3f2ee34ada7887431e0fa4cadda98d.tar.gz
strace: Replace off64_t with off_t in sync_file_range.c test
(From OE-Core rev: b171a45d7df522497e7dfb0908f023b0683b0989) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace')
-rw-r--r--meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch17
1 files changed, 13 insertions, 4 deletions
diff --git a/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch b/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch
index ce0428e977..0cabdfe99f 100644
--- a/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch
+++ b/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch
@@ -13,8 +13,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 tests/sync_file_range2.c | 4 ++-- 13 tests/sync_file_range2.c | 4 ++--
14 2 files changed, 3 insertions(+), 3 deletions(-) 14 2 files changed, 3 insertions(+), 3 deletions(-)
15 15
16diff --git a/tests/readahead.c b/tests/readahead.c
17index 10723785c..b9597e697 100644
18--- a/tests/readahead.c 16--- a/tests/readahead.c
19+++ b/tests/readahead.c 17+++ b/tests/readahead.c
20@@ -42,7 +42,7 @@ static const int fds[] = { 18@@ -42,7 +42,7 @@ static const int fds[] = {
@@ -26,8 +24,6 @@ index 10723785c..b9597e697 100644
26 -0x8000000000000000LL, 24 -0x8000000000000000LL,
27 -0x5060708090a0b0c0LL, 25 -0x5060708090a0b0c0LL,
28 -1LL, 26 -1LL,
29diff --git a/tests/sync_file_range2.c b/tests/sync_file_range2.c
30index 0f7c9e428..15a5fec71 100644
31--- a/tests/sync_file_range2.c 27--- a/tests/sync_file_range2.c
32+++ b/tests/sync_file_range2.c 28+++ b/tests/sync_file_range2.c
33@@ -20,8 +20,8 @@ int 29@@ -20,8 +20,8 @@ int
@@ -41,3 +37,16 @@ index 0f7c9e428..15a5fec71 100644
41 const unsigned int flags = -1; 37 const unsigned int flags = -1;
42 38
43 int rc = sync_file_range(fd, offset, nbytes, flags); 39 int rc = sync_file_range(fd, offset, nbytes, flags);
40--- a/tests/sync_file_range.c
41+++ b/tests/sync_file_range.c
42@@ -20,8 +20,8 @@ int
43 main(void)
44 {
45 const int fd = -1;
46- const off64_t offset = 0xdeadbeefbadc0dedULL;
47- const off64_t nbytes = 0xfacefeedcafef00dULL;
48+ const off_t offset = 0xdeadbeefbadc0dedULL;
49+ const off_t nbytes = 0xfacefeedcafef00dULL;
50 const unsigned int flags = -1;
51
52 int rc = sync_file_range(fd, offset, nbytes, flags);