30 lines
756 B
Diff
30 lines
756 B
Diff
|
From d5973f31f8ad6e1d2ee1eb5ca65c336961e42485 Mon Sep 17 00:00:00 2001
|
||
|
From: Colin Ian King <colin.king@canonical.com>
|
||
|
Date: Wed, 20 May 2020 14:43:16 +0100
|
||
|
Subject: [PATCH 15/28] stress-get: fix #ifdef check on getpagesize
|
||
|
|
||
|
The getpagesize syscall was not being exercised because of a
|
||
|
typo. Fix this.
|
||
|
|
||
|
Signed-off-by: Colin Ian King <colin.king@canonical.com>
|
||
|
---
|
||
|
stress-get.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/stress-get.c b/stress-get.c
|
||
|
index 1dfc7120fb06..9bfc196f5114 100644
|
||
|
--- a/stress-get.c
|
||
|
+++ b/stress-get.c
|
||
|
@@ -388,7 +388,7 @@ static int stress_get(const stress_args_t *args)
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
-#if defined(HAVE_GETPAGESISE)
|
||
|
+#if defined(HAVE_GETPAGESIZE)
|
||
|
ret = getpagesize();
|
||
|
(void)ret;
|
||
|
#endif
|
||
|
--
|
||
|
2.21.3
|
||
|
|