projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6926f6
)
emulator: fixed bugs in get_drive_image_file()
author
SeokYeon Hwang
<syeon.hwang@samsung.com>
Tue, 12 May 2015 04:29:12 +0000
(13:29 +0900)
committer
SeokYeon Hwang
<syeon.hwang@samsung.com>
Tue, 12 May 2015 04:29:53 +0000
(13:29 +0900)
Change-Id: I3b7169785499086c32ff9588acfb26a921f180f2
tizen/src/emul_state.c
patch
|
blob
|
history
diff --git
a/tizen/src/emul_state.c
b/tizen/src/emul_state.c
index
fe9d039
..
94534b3
100644
(file)
--- a/
tizen/src/emul_state.c
+++ b/
tizen/src/emul_state.c
@@
-417,7
+417,7
@@
const char* get_drive_image_file(void)
{
char *drive_image_file = get_variable("drive_image_file");
- if (
!
drive_image_file) {
+ if (drive_image_file) {
return drive_image_file;
}
@@
-426,7
+426,7
@@
const char* get_drive_image_file(void)
BlockBackend *bb = blk_by_name("drive");
if (bb) {
BlockDriverState *bs = blk_bs(bb);
- set_variable("driv
c
e_image_file", bs->filename, true);
+ set_variable("drive_image_file", bs->filename, true);
return bs->filename;
}