diff mbox series

[libgpiod,06/11] tools: display the correct license with --version

Message ID 20221130124231.1054001-7-brgl@bgdev.pl
State New
Headers show
Series [libgpiod,01/11] treewide: use C enum types explicitly | expand

Commit Message

Bartosz Golaszewski Nov. 30, 2022, 12:42 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

The tools are licensed under GPL-2.0-or-later so fix the output
of --version.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 tools/tools-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/tools-common.c b/tools/tools-common.c
index 44988d4..3480ede 100644
--- a/tools/tools-common.c
+++ b/tools/tools-common.c
@@ -78,7 +78,7 @@  void print_version(void)
 	printf("%s (libgpiod) v%s\n",
 	       program_invocation_short_name, gpiod_version_string());
 	printf("Copyright (C) 2017-2018 Bartosz Golaszewski\n");
-	printf("License: LGPLv2.1\n");
+	printf("License: GPL-2.0-or-later\n");
 	printf("This is free software: you are free to change and redistribute it.\n");
 	printf("There is NO WARRANTY, to the extent permitted by law.\n");
 }