aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-sockets.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-05-09 17:08:24 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-06-01 17:08:17 +0200
commit488bfd506a283c648f559140f51f125847d68664 (patch)
treee5ba3fff5e45a232df4002121c00cfef26908e39 /qemu-sockets.c
parent1646b4eb23bb788e9398583c442db9b70a85921a (diff)
downloadexternal_qemu-488bfd506a283c648f559140f51f125847d68664.zip
external_qemu-488bfd506a283c648f559140f51f125847d68664.tar.gz
external_qemu-488bfd506a283c648f559140f51f125847d68664.tar.bz2
qemu-error: minor integrate
Change-Id: Ic6bc807b98e4dba0f2fcba046cd9a91a5d96f2cb
Diffstat (limited to 'qemu-sockets.c')
-rw-r--r--qemu-sockets.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu-sockets.c b/qemu-sockets.c
index c4c0f65..13c0b93 100644
--- a/qemu-sockets.c
+++ b/qemu-sockets.c
@@ -665,24 +665,28 @@ int unix_connect(const char *path)
int unix_listen_opts(QemuOpts *opts)
{
fprintf(stderr, "unix sockets are not available on windows\n");
+ errno = ENOTSUP;
return -1;
}
int unix_connect_opts(QemuOpts *opts)
{
fprintf(stderr, "unix sockets are not available on windows\n");
+ errno = ENOTSUP;
return -1;
}
int unix_listen(const char *path, char *ostr, int olen)
{
fprintf(stderr, "unix sockets are not available on windows\n");
+ errno = ENOTSUP;
return -1;
}
int unix_connect(const char *path)
{
fprintf(stderr, "unix sockets are not available on windows\n");
+ errno = ENOTSUP;
return -1;
}