Commit a39437aa authored by ths's avatar ths
Browse files

Fix segfault with -nographic, by Enache Adrian.

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent ed5065e1
......@@ -7079,6 +7079,7 @@ int main(int argc, char **argv)
case QEMU_OPTION_nographic:
pstrcpy(serial_devices[0], sizeof(serial_devices[0]), "stdio");
pstrcpy(parallel_devices[0], sizeof(parallel_devices[0]), "null");
pstrcpy(monitor_device, sizeof(monitor_device), "stdio");
nographic = 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment