summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 67ab556c..7b5fd4b8 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -504,7 +504,7 @@ makeregcode(char *buf)
buf[0] = 'v';
buf[1] = '6';
for( i = 2 ; i < 13 ; ++i )
- buf[i] = alphabet[rand() % 52];
+ buf[i] = alphabet[random() % 52];
getregfile(fpath);
if( (fd = open(fpath, O_WRONLY | O_CREAT, 0600)) == -1 ){