Ticket #3473: session.patch
File session.patch, 667 bytes (added by , 14 years ago) |
---|
-
src/add-ons/kernel/partitioning_systems/session/session.cpp
52 52 Disc *disc = new Disc(fd); 53 53 if (disc && disc->InitCheck() == B_OK) { 54 54 *cookie = static_cast<void*>(disc); 55 result = 0.7; 55 // If we have more than one session then we override the filesystem 56 // drivers. GetSession is 0 indexed. 57 if (disc->GetSession(1)) 58 result = 0.81; 59 else 60 result = 0.5; 56 61 } else 57 62 delete disc; 58 63 }