Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset d8f92868 in mainline for uspace/srv/vfs/vfs_file.c


Ignore:
Timestamp:
2009-11-11T10:41:07Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
master
Children:
a217358
Parents:
93fbbd26
Message:

fix yet another off-by-one bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_file.c

    r93fbbd26 rd8f92868  
    111111                        i--;
    112112                } else {
    113                         if (i == MAX_OPEN_FILES)
     113                        if (i == MAX_OPEN_FILES - 1)
    114114                                break;
    115115                       
Note: See TracChangeset for help on using the changeset viewer.