[1/1] utils/genrandomconfig: use randint instead of (undefined) randInt
diff mbox series

Message ID 20191026142056.18213-1-asafka7@gmail.com
State Accepted
Headers show
Series
  • [1/1] utils/genrandomconfig: use randint instead of (undefined) randInt
Related show

Commit Message

Asaf Kahlon Oct. 26, 2019, 2:20 p.m. UTC
Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/333788455

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
 utils/genrandconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni Oct. 26, 2019, 2:26 p.m. UTC | #1
On Sat, 26 Oct 2019 17:20:56 +0300
Asaf Kahlon <asafka7@gmail.com> wrote:

> Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/333788455
> 
> Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
> ---
>  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

Patch
diff mbox series

diff --git a/utils/genrandconfig b/utils/genrandconfig
index 54d66e40d7..9567739252 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -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