summaryrefslogtreecommitdiffstats
path: root/mbbsd/record.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/record.c')
-rw-r--r--mbbsd/record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c
index 05773ef7..47b62010 100644
--- a/mbbsd/record.c
+++ b/mbbsd/record.c
@@ -479,7 +479,7 @@ stampfile(char *fpath, fileheader_t * fh)
#ifdef _BBS_UTIL_C_
do {
#endif
- sprintf(ip, "M.%d.A.%3.3X", (int)++dtime, rand() & 0xFFF);
+ sprintf(ip, "M.%d.A.%3.3X", (int)++dtime, random() & 0xFFF);
#ifdef _BBS_UTIL_C_
if (fp == -1 && errno != EEXIST)
return -1;