summaryrefslogtreecommitdiffstats
path: root/util/toplazyBM.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/toplazyBM.c')
-rw-r--r--util/toplazyBM.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/toplazyBM.c b/util/toplazyBM.c
index b55d6a26..25252870 100644
--- a/util/toplazyBM.c
+++ b/util/toplazyBM.c
@@ -1,4 +1,4 @@
-/* $Id: toplazyBM.c,v 1.6 2002/06/29 13:50:46 ptt Exp $ */
+/* $Id: toplazyBM.c,v 1.7 2002/06/29 14:36:24 ptt Exp $ */
#include "bbs.h"
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
}
strcpy(allbrd[i].BM, bmbuf);
- if( substitute_record(FN_BOARD, &allbrd[i], sizeof(boardheader_t), i) == -1){
+ if( substitute_record(FN_BOARD, &allbrd[i], sizeof(boardheader_t), i+1) == -1){
printf("Update Board Faile : %s\n", allbrd[i].brdname);
}
reset_board(i);