Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77968
b: refs/heads/master
c: 07f7668
h: refs/heads/master
v: v3
  • Loading branch information
Ladislav Michl authored and Sam Ravnborg committed Jan 28, 2008
1 parent ba54c30 commit fcea8b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75ff4309cdb1d7303750aeed07a5d80382fe2e71
refs/heads/master: 07f766885879a1fd4502fb8dd531d1fe3c575510
4 changes: 2 additions & 2 deletions trunk/scripts/kconfig/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ static int conf_choice(struct menu *menu)
break;
case set_random:
if (is_new)
def = (random() % cnt) + 1;
def = (rand() % cnt) + 1;
case set_default:
case set_yes:
case set_mod:
Expand Down Expand Up @@ -526,7 +526,7 @@ int main(int ac, char **av)
break;
case 'r':
input_mode = set_random;
srandom(time(NULL));
srand(time(NULL));
break;
case 'h':
printf("See README for usage info\n");
Expand Down

0 comments on commit fcea8b7

Please sign in to comment.