summaryrefslogtreecommitdiffstats
path: root/mbbsd/card.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/card.c')
-rw-r--r--mbbsd/card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/card.c b/mbbsd/card.c
index 0d973be2..6353e425 100644
--- a/mbbsd/card.c
+++ b/mbbsd/card.c
@@ -181,7 +181,7 @@ card_give(int cards[])
assert(nfreecard>0); /* caller ­n­t³d½T«OÁÙ¦³³ÑµP */
- i=freecard[rand()%nfreecard];
+ i=freecard[random()%nfreecard];
cards[i] = 1;
return i;
}