Skip to content

Commit

Permalink
Fixed a function name error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ax-6 committed Aug 13, 2024
1 parent 0e2f3ee commit e3ebfcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aqvm/base/file/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ struct AqvmBaseFile_File* AqvmBaseFile_fopen(const char* filename,
return NULL;
}

if (AqvmBaseFileThreadingFileLock_AddFileLock(stream) != 0) {
if (AqvmBaseThreadingFileLock_AddFileLock(stream) != 0) {
fclose(stream->file);
free(stream->identifier);
free(stream);
Expand Down Expand Up @@ -527,7 +527,7 @@ struct AqvmBaseFile_File* AqvmBaseFile_tmpfile() {
free(stream);
return NULL;
}
if (AqvmBaseFileThreadingFileLock_AddFileLock(stream) != 0) {
if (AqvmBaseThreadingFileLock_AddFileLock(stream) != 0) {
// TODO
fclose(stream->file);
free(stream->identifier);
Expand Down

0 comments on commit e3ebfcc

Please sign in to comment.