mirror of
git://github.com/lxc/lxc
synced 2025-08-22 14:01:33 +00:00
Merge pull request #4054 from hallyn/2022-01-09/trivial
(trivial) Fix error message, failure was connect not bind
This commit is contained in:
commit
544606ead3
@ -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