Skip to contentSkip to conversation

utils/genrandomconfig: use randint instead of (undefined) randInt

PATCH New Asaf Kahlon 2 participants 2 messages Oct 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utils/genrandomconfig: use randint instead of (undefined) randInt

Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/333788455

---
 utils/genrandconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/genrandconfig +1 -1
index 54d66e40d7..9567739252 100755
@@ -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
#1 lore raw

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

---
 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