libseat: Fix build of builtin backend
This was regressed by 166feaea33
which
missed the builtin backend when changing struct libseat_seat_listener to
being passed around as const.
This commit is contained in:
parent
d78859bc9a
commit
038c30f9b1
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ static int set_deathsig(int signal) {
|
||||||
#error Unsupported platform
|
#error Unsupported platform
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct libseat *builtin_open_seat(struct libseat_seat_listener *listener, void *data) {
|
static struct libseat *builtin_open_seat(const struct libseat_seat_listener *listener, void *data) {
|
||||||
int fds[2];
|
int fds[2];
|
||||||
if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == -1) {
|
if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == -1) {
|
||||||
log_errorf("Could not create socket pair: %s", strerror(errno));
|
log_errorf("Could not create socket pair: %s", strerror(errno));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue