summaryrefslogtreecommitdiff
path: root/tools/list-local-devices.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-03-19 11:00:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2021-03-19 13:55:34 +1000
commit7770a9bad9c3f28f53276a029c45837bd1ddbae4 (patch)
tree40b7e8a0ff9d898b4296470c76cc8d7c3fefb703 /tools/list-local-devices.c
parentfa84414eeda31b159ad584999070d121c43656bf (diff)
downloadlibwacom-7770a9bad9c3f28f53276a029c45837bd1ddbae4.tar.gz
tools: return EXIT_FAILURE for consistency
All the other return paths return that instead of 1. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/list-local-devices.c')
-rw-r--r--tools/list-local-devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/list-local-devices.c b/tools/list-local-devices.c
index 38996b1..d60bbf3 100644
--- a/tools/list-local-devices.c
+++ b/tools/list-local-devices.c
@@ -127,7 +127,7 @@ int main(int argc, char **argv)
if (!db) {
fprintf(stderr, "Failed to initialize device database\n");
- return 1;
+ return EXIT_FAILURE;
}
i = scandir("/dev/input", &namelist, event_devices_only, alphasort);