bar/wayland: spell 'disconnected' correctly

This commit is contained in:
Daniel Eklöf 2019-06-07 14:08:14 +02:00
parent 450caba415
commit e980a74a10
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -822,7 +822,7 @@ loop(struct bar *_bar,
} }
if (fds[1].revents & POLLHUP) { if (fds[1].revents & POLLHUP) {
LOG_WARN("disconnceted from wayland"); LOG_WARN("disconnected from wayland");
if (write(_bar->abort_fd, &(uint64_t){1}, sizeof(uint64_t)) if (write(_bar->abort_fd, &(uint64_t){1}, sizeof(uint64_t))
!= sizeof(uint64_t)) != sizeof(uint64_t))
{ {