(svn r10715) -Fix: limited-fs code was broken
authortruelight
Sat, 28 Jul 2007 12:45:27 +0000
changeset 7848 31b4a92bc171
parent 7847 002d1f4bd222
child 7849 eafce07e8f96
(svn r10715) -Fix: limited-fs code was broken
src/fileio.cpp
--- a/src/fileio.cpp	Sat Jul 28 00:19:49 2007 +0000
+++ b/src/fileio.cpp	Sat Jul 28 12:45:27 2007 +0000
@@ -66,8 +66,8 @@
 {
 	/* Do we still have the file open, or should we reopen it? */
 	if (_fio.handles[slot] == NULL) {
-		DEBUG(misc, 6, "Restoring file '%s' in slot '%d' from disk", _fio.filename[slot], slot);
-		FioOpenFile(slot, _fio.filename[slot]);
+		DEBUG(misc, 6, "Restoring file '%s' in slot '%d' from disk", _fio.filenames[slot], slot);
+		FioOpenFile(slot, _fio.filenames[slot]);
 	}
 	_fio.usage_count[slot]++;
 }
@@ -165,7 +165,7 @@
 			}
 		}
 		assert(slot != -1);
-		DEBUG(misc, 6, "Closing filehandler '%s' in slot '%d' because of fd-limit", _fio.filename[slot], slot);
+		DEBUG(misc, 6, "Closing filehandler '%s' in slot '%d' because of fd-limit", _fio.filenames[slot], slot);
 		FioCloseFile(slot);
 	}
 }