diff options
author | kartofen <mladenovnasko0@gmail.com> | 2023-10-21 12:56:07 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2023-10-21 12:56:07 +0300 |
commit | ff2497dc2c67d2b7df29b729c763b6e09c876d76 (patch) | |
tree | a83f5dcb96066e700da914d222732aad1ed1c5f7 /src/common.h | |
parent | 5115eb592d1477b355770eee9d6b913481d4859f (diff) |
minor changes and more error checks
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index 27d8404..eaa0743 100644 --- a/src/common.h +++ b/src/common.h @@ -51,7 +51,7 @@ void *xrealloc(void *ptr, size_t size); fseek(fp, 0, SEEK_SET); \ fread(buf, sizeof(u32), *size/sizeof(u32), fp); \ \ - return 0; \ + ret = 0; \ exit: \ fclose(fp); \ return ret; \ |