mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
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>
This commit is contained in:
@@ -13,8 +13,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|||||||
tests/sync_file_range2.c | 4 ++--
|
tests/sync_file_range2.c | 4 ++--
|
||||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/tests/readahead.c b/tests/readahead.c
|
|
||||||
index 10723785c..b9597e697 100644
|
|
||||||
--- a/tests/readahead.c
|
--- a/tests/readahead.c
|
||||||
+++ b/tests/readahead.c
|
+++ b/tests/readahead.c
|
||||||
@@ -42,7 +42,7 @@ static const int fds[] = {
|
@@ -42,7 +42,7 @@ static const int fds[] = {
|
||||||
@@ -26,8 +24,6 @@ index 10723785c..b9597e697 100644
|
|||||||
-0x8000000000000000LL,
|
-0x8000000000000000LL,
|
||||||
-0x5060708090a0b0c0LL,
|
-0x5060708090a0b0c0LL,
|
||||||
-1LL,
|
-1LL,
|
||||||
diff --git a/tests/sync_file_range2.c b/tests/sync_file_range2.c
|
|
||||||
index 0f7c9e428..15a5fec71 100644
|
|
||||||
--- a/tests/sync_file_range2.c
|
--- a/tests/sync_file_range2.c
|
||||||
+++ b/tests/sync_file_range2.c
|
+++ b/tests/sync_file_range2.c
|
||||||
@@ -20,8 +20,8 @@ int
|
@@ -20,8 +20,8 @@ int
|
||||||
@@ -40,4 +36,17 @@ index 0f7c9e428..15a5fec71 100644
|
|||||||
+ const off_t nbytes = 0xfacefeedcafef00d;
|
+ const off_t nbytes = 0xfacefeedcafef00d;
|
||||||
const unsigned int flags = -1;
|
const unsigned int flags = -1;
|
||||||
|
|
||||||
|
int rc = sync_file_range(fd, offset, nbytes, flags);
|
||||||
|
--- a/tests/sync_file_range.c
|
||||||
|
+++ b/tests/sync_file_range.c
|
||||||
|
@@ -20,8 +20,8 @@ int
|
||||||
|
main(void)
|
||||||
|
{
|
||||||
|
const int fd = -1;
|
||||||
|
- const off64_t offset = 0xdeadbeefbadc0dedULL;
|
||||||
|
- const off64_t nbytes = 0xfacefeedcafef00dULL;
|
||||||
|
+ const off_t offset = 0xdeadbeefbadc0dedULL;
|
||||||
|
+ const off_t nbytes = 0xfacefeedcafef00dULL;
|
||||||
|
const unsigned int flags = -1;
|
||||||
|
|
||||||
int rc = sync_file_range(fd, offset, nbytes, flags);
|
int rc = sync_file_range(fd, offset, nbytes, flags);
|
||||||
|
|||||||
Reference in New Issue
Block a user