summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vmeta_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vmeta_lib.c b/vmeta_lib.c
index 324ef71..f1f5a98 100644
--- a/vmeta_lib.c
+++ b/vmeta_lib.c
@@ -334,12 +334,12 @@ SIGN32 vdec_os_api_sync_event()
//End of mem mmap
#define VMETA_VERSION_PREFIX "build-"
-static int get_version(char *msg)
+static int get_version(const char *filename)
{
int ret;
int version;
- FILE *file = fopen(msg, "r");
+ FILE *file = fopen(filename, "r");
if(!file) {
dbg_printf(VDEC_DEBUG_ALL, "Error: %s -> fopen failed\n", __FUNCTION__);