From 089bc8ec818956e231c8e8fea640aa53f31fe3d4 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 30 Apr 2026 19:32:50 +1000 Subject: [PATCH] tools: another close() -> xclose change Fixes: 8afdc52eaf87 ("tools: Use xclose() over close()") Part-of: --- tools/libinput-debug-tablet-pad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libinput-debug-tablet-pad.c b/tools/libinput-debug-tablet-pad.c index d14d9edb..528fbef7 100644 --- a/tools/libinput-debug-tablet-pad.c +++ b/tools/libinput-debug-tablet-pad.c @@ -262,7 +262,7 @@ handle_device_added(struct context *ctx, struct libinput_event *ev) if (fd == -1) return; if (libevdev_new_from_fd(fd, &ctx->evdev) != 0) { - close(fd); + xclose(&fd); return; } }