aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index a3d2d0b564f4..01c2f3505f5d 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -375,7 +375,7 @@ static int conf_choice(struct menu *menu)
375 break; 375 break;
376 case set_random: 376 case set_random:
377 if (is_new) 377 if (is_new)
378 def = (random() % cnt) + 1; 378 def = (rand() % cnt) + 1;
379 case set_default: 379 case set_default:
380 case set_yes: 380 case set_yes:
381 case set_mod: 381 case set_mod:
@@ -526,7 +526,7 @@ int main(int ac, char **av)
526 break; 526 break;
527 case 'r': 527 case 'r':
528 input_mode = set_random; 528 input_mode = set_random;
529 srandom(time(NULL)); 529 srand(time(NULL));
530 break; 530 break;
531 case 'h': 531 case 'h':
532 printf("See README for usage info\n"); 532 printf("See README for usage info\n");