mirror of
git://github.com/lxc/lxc
synced 2025-08-22 09:51:32 +00:00
(trivial) Fix error message, failure was connect not bind
Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
parent
02e1f71011
commit
8fd8c1586b
@ -516,7 +516,7 @@ int lxc_unix_connect_type(struct sockaddr_un *addr, int type)
|
||||
ret = connect(fd, (struct sockaddr *)addr,
|
||||
offsetof(struct sockaddr_un, sun_path) + len);
|
||||
if (ret < 0)
|
||||
return syserror("Failed to bind new AF_UNIX socket");
|
||||
return syserror("Failed to connect AF_UNIX socket");
|
||||
|
||||
return move_fd(fd);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user