aboutsummaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorRaphael <raphael@google.com>2010-11-01 15:29:34 -0700
committerRaphael Moll <ralf@android.com>2010-11-16 10:52:51 -0800
commit2779beecc7410f29102125e87e8174597acb2fe5 (patch)
tree5957232f7353ab1a18fe33c5ec0a59f0835d70e9 /hw
parent8285461fa8cdd05cb229a4a73df13b3b8e7766dc (diff)
downloadexternal_qemu-2779beecc7410f29102125e87e8174597acb2fe5.zip
external_qemu-2779beecc7410f29102125e87e8174597acb2fe5.tar.gz
external_qemu-2779beecc7410f29102125e87e8174597acb2fe5.tar.bz2
Add env var ANDROID_TMP to override /tmp/android location.
This is needed if there's already a /tmp/android which the current user can't access on the system. It would prevent the emulator from starting with a cryptic error message: NAND: could not create temp file for system NAND disk image: Permission deniedemulator: User-config was not changed. SDK Bug: 3154431 Change-Id: Iefe7fd6a5139da545aaef5670fb7f42d210d0edc
Diffstat (limited to 'hw')
-rw-r--r--hw/goldfish_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/goldfish_nand.c b/hw/goldfish_nand.c
index 933edc9..af921b7 100644
--- a/hw/goldfish_nand.c
+++ b/hw/goldfish_nand.c
@@ -708,7 +708,7 @@ void nand_add_dev(const char *arg)
TempFile* tmp = tempfile_create();
if (tmp == NULL) {
- XLOG("could not create temp file for %.*s NAND disk image: %s",
+ XLOG("could not create temp file for %.*s NAND disk image: %s\n",
devname_len, devname, strerror(errno));
exit(1);
}