aboutsummaryrefslogtreecommitdiff
path: root/examples/simpletest/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simpletest/main.c')
-rw-r--r--examples/simpletest/main.c2
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;
}