summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 34b78e06..20ac1d99 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -207,7 +207,7 @@ abort_bbs_debug(int sig)
static void
mysrand()
{
- srand(time(NULL) + getpid()); /* 時間跟 pid 當 rand 的 seed */
+ srandom(time(NULL) + getpid()); /* 時間跟 pid 當 rand 的 seed */
}
void