Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ int android_mkstemp(char * path){
strcat(lpath, path);
int res = mkstemp(lpath);
//printf("mkstemp limbo file: %s", path);
if(res)
if(-1 == res)
LOGW("Could not create file: %s", lpath);
return res;

Expand Down Expand Up @@ -376,4 +376,4 @@ int create_thread_get_fd(const char * filepath) {

int lockf(int fd, int cmd, off_t len){
return 0;
}
}