am f77bd7d0: Merge "Try using goldfish_pipe as the device name"

* commit 'f77bd7d005e27364e233c92ac7f6c06a18d1f128':
  Try using goldfish_pipe as the device name
This commit is contained in:
David Turner
2014-02-14 17:27:21 +00:00
committed by Android Git Automerger

View File

@@ -66,6 +66,8 @@ qemu_pipe_open(const char* pipeName)
snprintf(buff, sizeof buff, "pipe:%s", pipeName);
fd = open("/dev/qemu_pipe", O_RDWR);
if (fd < 0 && errno == ENOENT)
fd = open("/dev/goldfish_pipe", O_RDWR);
if (fd < 0) {
D("%s: Could not open /dev/qemu_pipe: %s", __FUNCTION__, strerror(errno));
//errno = ENOSYS;