Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From faadbc147394cea9278bc2494f33e3521d88e742 Mon Sep 17 00:00:00 2001 |
| 2 | From: Tim Orling <timothy.t.orling@linux.intel.com> |
| 3 | Date: Tue, 9 Jan 2018 18:38:45 -0800 |
| 4 | Subject: [PATCH] stress-fcntl: fix build for musl |
| 5 | |
| 6 | Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> |
| 7 | |
| 8 | Upstream-status: Pending |
| 9 | |
| 10 | --- |
| 11 | stress-fcntl.c | 1 + |
| 12 | 1 file changed, 1 insertion(+) |
| 13 | |
| 14 | diff --git a/stress-fcntl.c b/stress-fcntl.c |
| 15 | index 2ea867b..e91b345 100644 |
| 16 | --- a/stress-fcntl.c |
| 17 | +++ b/stress-fcntl.c |
| 18 | @@ -415,6 +415,7 @@ ofd_lock_abort: { /* Nowt */ } |
| 19 | #if (defined(F_GET_FILE_RW_HINT) && defined(F_SET_FILE_RW_HINT)) | \ |
| 20 | (defined(F_GET_RW_HINT) && defined(F_SET_RW_HINT)) |
| 21 | { |
| 22 | + int ret; |
| 23 | size_t i; |
| 24 | unsigned long hint; |
| 25 | static const unsigned long hints[] = { |