aboutsummaryrefslogtreecommitdiff
path: root/xwayland/sockets.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-09 16:12:20 -0700
committerGitHub <noreply@github.com>2018-07-09 16:12:20 -0700
commit2518de655c7278728736d22549656c639e4c92f0 (patch)
treeacd08ceb9709eb25541fa02fbc533a7c6a99dbad /xwayland/sockets.c
parente78d72f42e10b43a76ef5ba6b8c4b3b470b25245 (diff)
parent7cbef152063e1fbb24e6204339ff4587a74be04b (diff)
Merge pull request #1126 from emersion/wlr-log-prefix
util: add wlr_ prefix to log symbols
Diffstat (limited to 'xwayland/sockets.c')
-rw-r--r--xwayland/sockets.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xwayland/sockets.c b/xwayland/sockets.c
index 1e943b1d..2b0b5ced 100644
--- a/xwayland/sockets.c
+++ b/xwayland/sockets.c
@@ -31,7 +31,7 @@ static int open_socket(struct sockaddr_un *addr, size_t path_size) {
fd = socket(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0);
if (fd < 0) {
- wlr_log_errno(L_DEBUG, "Failed to create socket %c%s",
+ wlr_log_errno(WLR_DEBUG, "Failed to create socket %c%s",
addr->sun_path[0] ? addr->sun_path[0] : '@',
addr->sun_path + 1);
return -1;
@@ -42,14 +42,14 @@ static int open_socket(struct sockaddr_un *addr, size_t path_size) {
}
if (bind(fd, (struct sockaddr*)addr, size) < 0) {
rc = errno;
- wlr_log_errno(L_DEBUG, "Failed to bind socket %c%s",
+ wlr_log_errno(WLR_DEBUG, "Failed to bind socket %c%s",
addr->sun_path[0] ? addr->sun_path[0] : '@',
addr->sun_path + 1);
goto cleanup;
}
if (listen(fd, 1) < 0) {
rc = errno;
- wlr_log_errno(L_DEBUG, "Failed to listen to socket %c%s",
+ wlr_log_errno(WLR_DEBUG, "Failed to listen to socket %c%s",
addr->sun_path[0] ? addr->sun_path[0] : '@',
addr->sun_path + 1);
goto cleanup;
@@ -160,7 +160,7 @@ int open_display_sockets(int socks[2]) {
}
if (display > 32) {
- wlr_log(L_ERROR, "No display available in the first 33");
+ wlr_log(WLR_ERROR, "No display available in the first 33");
return -1;
}