Skip to contentSkip to conversation

Pulled and rebased fix, thank you!

PATCH Paul E. McKenney 1 participant 1 message Apr 10, 2020

lore
Share & tools
lore
#0 lore raw

Hello, Igor,

I pulled and rebased you fix, thank you! I added your Signed-off-by, but please let me know if that is a problem for you. Please see below for the revised commit.

Thanx, Paul

------------------------------------------------------------------------

commit bbac20d336b4ee403ff7fd183a9d8343041214c8

Author: Igor Dzreyev <[email protected]>
Date:   Thu Apr 9 11:56:41 2020 +0300

toolsoftrade: Fix a typo in pcreate.c

CodeSamples/toolsoftrade/pcreate.c +1 -1
index b5e173e..f1e6ff3 100644
@@ -45,7 +45,7 @@ int main(int argc, char *argv[])
 
 	if ((en = pthread_create(&tid, NULL,		//\lnlbl{create:a}
 	                         mythread, NULL)) != 0) {//\lnlbl{create:b}
-		fprintf(stderr, "pthread_join: %s\n", strerror(en));
+		fprintf(stderr, "pthread_create: %s\n", strerror(en));
 		exit(EXIT_FAILURE);
 	}