Fix RAX crash
This commit is contained in:
parent
8d18a54c8d
commit
8f0e0c8eba
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,9 @@ int main(int argc, char **argv){
|
|||
return 1;
|
||||
}
|
||||
IPC::sharedPage f(argv[1], 0, false, false);
|
||||
if (!f.mapped){
|
||||
std::cout << "Could not open " << argv[1] << ": does not exist" << std::endl;
|
||||
}
|
||||
const Util::RelAccX A(f.mapped, false);
|
||||
if (!A.isReady()){
|
||||
std::cout << "Memory structure " << argv[1] << " is not ready" << std::endl;
|
||||
|
|
Loading…
Add table
Reference in a new issue