diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-12-14 23:41:00 +0100 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-12-14 23:41:17 +0100 |
commit | 1ececbbf361a227fa6449f51904f97f37763b5a4 (patch) | |
tree | 53ffebab46e26dbae2c9b437131e211d980bc584 | |
parent | 3755eea668cf7162ff861df9e8545ea5095792c1 (diff) |
simpletest: Close fd after closing device
-rw-r--r-- | examples/simpletest/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simpletest/main.c b/examples/simpletest/main.c index 0ec1c91..aeeace2 100644 --- a/examples/simpletest/main.c +++ b/examples/simpletest/main.c @@ -57,8 +57,8 @@ int main(int argc, char *argv[]) { return 1; } - close(fd); libseat_close_device(backend, device); + close(fd); libseat_close_seat(backend); return 0; } |