diff options
Diffstat (limited to 'util/bbsctl.c')
-rw-r--r-- | util/bbsctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/bbsctl.c b/util/bbsctl.c index 998cd98c..8daa89c3 100644 --- a/util/bbsctl.c +++ b/util/bbsctl.c @@ -226,6 +226,7 @@ int permreport(int argc, char **argv) return 1; } for( count = i = 0 ; check[i].perm != 0 ; ++i ){ + count = 0; lseek(fd, 0, SEEK_SET); printf("%s\n", check[i].desc); while( read(fd, &usr, sizeof(usr)) > 0 ){ |