From ff2497dc2c67d2b7df29b729c763b6e09c876d76 Mon Sep 17 00:00:00 2001 From: kartofen Date: Sat, 21 Oct 2023 12:56:07 +0300 Subject: minor changes and more error checks --- src/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common.h') 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; \ -- cgit v1.2.3