Revision 10f5bff6 vl.c
b/vl.c | ||
---|---|---|
2827 | 2827 |
|
2828 | 2828 |
atexit(qemu_run_exit_notifiers); |
2829 | 2829 |
error_set_progname(argv[0]); |
2830 |
qemu_init_exec_dir(argv[0]); |
|
2830 | 2831 |
|
2831 | 2832 |
g_mem_set_vtable(&mem_trace); |
2832 | 2833 |
if (!g_thread_supported()) { |
... | ... | |
3855 | 3856 |
/* If no data_dir is specified then try to find it relative to the |
3856 | 3857 |
executable path. */ |
3857 | 3858 |
if (data_dir_idx < ARRAY_SIZE(data_dir)) { |
3858 |
data_dir[data_dir_idx] = os_find_datadir(argv[0]);
|
|
3859 |
data_dir[data_dir_idx] = os_find_datadir(); |
|
3859 | 3860 |
if (data_dir[data_dir_idx] != NULL) { |
3860 | 3861 |
data_dir_idx++; |
3861 | 3862 |
} |
Also available in: Unified diff