From d2c8b63849c47bdadc4f1e030ec0cbe03a0b7baa Mon Sep 17 00:00:00 2001 From: Manfred Wallner Date: Tue, 2 Apr 2024 21:45:25 +0200 Subject: [PATCH 1/2] [MAINT] typos --- wiringPi/wiringPi.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wiringPi/wiringPi.c b/wiringPi/wiringPi.c index 5c6a0f6..6a0981a 100644 --- a/wiringPi/wiringPi.c +++ b/wiringPi/wiringPi.c @@ -857,12 +857,12 @@ static void usingGpioMemCheck (const char *what) void PrintSystemStdErr () { struct utsname sys_info; if (uname(&sys_info) == 0) { - fprintf (stderr, " wiringpi = %d.%d\n", VERSION_MAJOR, VERSION_MINOR); - fprintf (stderr, " system name = %s\n", sys_info.sysname); - //fprintf (stderr, " node name = %s\n", sys_info.nodename); - fprintf (stderr, " release = %s\n", sys_info.release); - fprintf (stderr, " version = %s\n", sys_info.version); - fprintf (stderr, " machine = %s\n", sys_info.machine); + fprintf (stderr, " wiringpi : %d.%d\n", VERSION_MAJOR, VERSION_MINOR); + fprintf (stderr, " system name : %s\n", sys_info.sysname); + //fprintf (stderr, " node name : %s\n", sys_info.nodename); + fprintf (stderr, " release : %s\n", sys_info.release); + fprintf (stderr, " version : %s\n", sys_info.version); + fprintf (stderr, " machine : %s\n", sys_info.machine); if (strstr(sys_info.machine, "arm") == NULL && strstr(sys_info.machine, "aarch")==NULL) { fprintf (stderr, " -> This is not an ARM architecture; it cannot be a Raspberry Pi.\n") ; } @@ -2813,7 +2813,7 @@ int wiringPiSetupPhys (void) int wiringPiSetupSys (void) { piFunctionOops("wiringPiSetupSys", - "use wringpi 3.1 (last version with GPIO Sysfs interface)", + "use WiringPi 3.1 (last version with GPIO Sysfs interface)", "https://www.kernel.org/doc/html/v5.5/admin-guide/gpio/sysfs.html"); return 0 ; From 370f6112f77670c2da07c7b8ad18e58e94f1f2bc Mon Sep 17 00:00:00 2001 From: Manfred Wallner Date: Tue, 2 Apr 2024 21:55:47 +0200 Subject: [PATCH 2/2] [MAINT] typo --- wiringPi/wiringPi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiringPi/wiringPi.c b/wiringPi/wiringPi.c index 6a0981a..fd06922 100644 --- a/wiringPi/wiringPi.c +++ b/wiringPi/wiringPi.c @@ -857,7 +857,7 @@ static void usingGpioMemCheck (const char *what) void PrintSystemStdErr () { struct utsname sys_info; if (uname(&sys_info) == 0) { - fprintf (stderr, " wiringpi : %d.%d\n", VERSION_MAJOR, VERSION_MINOR); + fprintf (stderr, " WiringPi : %d.%d\n", VERSION_MAJOR, VERSION_MINOR); fprintf (stderr, " system name : %s\n", sys_info.sysname); //fprintf (stderr, " node name : %s\n", sys_info.nodename); fprintf (stderr, " release : %s\n", sys_info.release);