mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2025-09-24 09:03:32 +02:00
some debug stuff
This commit is contained in:
parent
bb45b99e8a
commit
38ebb77eda
@ -229,6 +229,9 @@ void *ne_fs_open(nn_address address, const char *path, const char *mode) {
|
||||
const char *p = ne_fs_diskPath(address, path);
|
||||
if(p[0] == '/') p++;
|
||||
FILE *f = fopen(p, trueMode);
|
||||
if(f == NULL) {
|
||||
printf("open(%s) failure: %s\n", path, strerror(errno));
|
||||
}
|
||||
return f;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user