From 2779beecc7410f29102125e87e8174597acb2fe5 Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 1 Nov 2010 15:29:34 -0700 Subject: 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 --- hw/goldfish_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/goldfish_nand.c') 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); } -- cgit v1.1