diff options
author | Rahul Dadhich <r.dadhich@samsung.com> | 2020-03-03 15:09:25 +0530 |
---|---|---|
committer | Rahul Dadhich <r.dadhich@samsung.com> | 2020-03-03 15:09:25 +0530 |
commit | 85f8b93ba5847b8f31eeef54707db1d512d89d3c (patch) | |
tree | ad6314e5c2799aead8db501b2426fdb7a02d0b05 | |
parent | 977f2b4acddd9e35f1d0df5c5894420e9462b244 (diff) | |
download | qemu-tizen_studio_4.0_p2.3.1.tar.gz qemu-tizen_studio_4.0_p2.3.1.tar.bz2 qemu-tizen_studio_4.0_p2.3.1.zip |
Changed variable nametizen_studio_4.0_p2.3.1tizen_studio_3.5_p2.3.1
Change-Id: Id000fce0192a229aebb999c8062431df2d3b9392
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
-rw-r--r-- | tizen/src/emulator.c | 12 |
1 files 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 |