diff options
-rw-r--r-- | src/regress/lib/libc/malloc/malloc_general/malloc_general.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libc/malloc/malloc_general/malloc_general.c b/src/regress/lib/libc/malloc/malloc_general/malloc_general.c index 7dbaf5d8aa..b243787bcf 100644 --- a/src/regress/lib/libc/malloc/malloc_general/malloc_general.c +++ b/src/regress/lib/libc/malloc/malloc_general/malloc_general.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD */ | 1 | /* $OpenBSD: malloc_general.c,v 1.7 2022/01/09 07:18:50 otto Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017 Otto Moerbeek <otto@drijf.net> | 3 | * Copyright (c) 2017 Otto Moerbeek <otto@drijf.net> |
4 | * | 4 | * |
@@ -20,14 +20,14 @@ | |||
20 | #include <stdlib.h> | 20 | #include <stdlib.h> |
21 | #include <string.h> | 21 | #include <string.h> |
22 | 22 | ||
23 | /* $define VERBOSE */ | 23 | /* #define VERBOSE */ |
24 | 24 | ||
25 | #define N 1000 | 25 | #define N 1000 |
26 | 26 | ||
27 | size_t | 27 | size_t |
28 | size(void) | 28 | size(void) |
29 | { | 29 | { |
30 | int p = arc4random_uniform(13) + 3; | 30 | int p = arc4random_uniform(17) + 3; |
31 | return arc4random_uniform(1 << p); | 31 | return arc4random_uniform(1 << p); |
32 | } | 32 | } |
33 | 33 | ||