From 85f8b93ba5847b8f31eeef54707db1d512d89d3c Mon Sep 17 00:00:00 2001 From: Rahul Dadhich Date: Tue, 3 Mar 2020 15:09:25 +0530 Subject: Changed variable name Change-Id: Id000fce0192a229aebb999c8062431df2d3b9392 Signed-off-by: Rahul Dadhich --- tizen/src/emulator.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tizen/src/emulator.c b/tizen/src/emulator.c index a55090238f..34b017ff16 100644 --- a/tizen/src/emulator.c +++ b/tizen/src/emulator.c @@ -319,7 +319,7 @@ static int emulator_main(int argc, char *argv[], char **envp) #endif gchar *conf = NULL; - gchar *javapath = NULL; + gchar *java_path = NULL; int c = 0; @@ -334,7 +334,7 @@ static int emulator_main(int argc, char *argv[], char **envp) static struct option long_options[] = { {"conf", required_argument, 0, 'c' }, {"additional", required_argument, 0, 'a' }, - {"javapath", required_argument, 0, 'a' }, + {"javapath", required_argument, 0, 'j' }, {0, 0, 0, 0 } }; @@ -359,7 +359,7 @@ static int emulator_main(int argc, char *argv[], char **envp) case 'j': // TODO: additional options should be accepted set_variable("javapath", optarg, true); - javapath = g_strdup(optarg); + java_path = g_strdup(optarg); c = -1; break; default: @@ -374,9 +374,9 @@ static int emulator_main(int argc, char *argv[], char **envp) return -1; } - if (javapath) { - java_execution_path = g_strdup(javapath); - g_free(javapath); + if (java_path) { + java_execution_path = g_strdup(java_path); + g_free(java_path); } // load configurations -- cgit v1.2.3