utils/genrandomconfig: use randint instead of (undefined) randInt
PATCH 1/1 utils/genrandomconfig: use randint instead of (undefined) randInt
Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/333788455
Signed-off-by Asaf Kahlon <[email protected]>
--- utils/genrandconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
utils/genrandconfig +1 -1
@@ -366,7 +366,7 @@ def gen_config(args): configlines.append("BR2_OPTIMIZE_2=y\n") if randint(0, 4) == 0: configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n") - if randInt(0, 4) == 0: + if randint(0, 4) == 0: configlines.append("BR2_PIC_PIE=y\n") # Randomly enable BR2_REPRODUCIBLE 10% of times
Signature · 1 line
2.20.1
PATCH 1/1 utils/genrandomconfig: use randint instead of (undefined) randInt
Quoted 6 lines · On Sat, 26 Oct 2019 17:20:56 +0300 Asaf Kahlon <[email protected]> wrote:
Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/333788455
Signed-off-by Asaf Kahlon <[email protected]>--- utils/genrandconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Doh, I should really open my eyes better when reviewing and applying patches it seems. Thanks for catching this and providing a fix!
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com