2
0
mirror of git://github.com/lxc/lxc synced 2025-08-22 07: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:
Stéphane Graber 2022-01-09 23:16:17 +01:00 committed by GitHub
commit 544606ead3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}