Commit 000346ce authored by Joanne Hugé's avatar Joanne Hugé

Fix small mistake

parent 44317e4e
...@@ -208,8 +208,7 @@ int main(int argc, char *argv[]) { ...@@ -208,8 +208,7 @@ int main(int argc, char *argv[]) {
// Create the real time thread // Create the real time thread
if (pthread_create(&thread, NULL, packet_sending_thread, NULL)) if (pthread_create(&thread, NULL, packet_sending_thread, NULL))
; error(EXIT_FAILURE, errno, "Couldn't create packet sending thread");
error(EXIT_FAILURE, errno, "Couldn't create thread");
// Verbose loop // Verbose loop
for (;;) { for (;;) {
......
...@@ -208,7 +208,7 @@ int main(int argc, char *argv[]) { ...@@ -208,7 +208,7 @@ int main(int argc, char *argv[]) {
// Create the real time thread // Create the real time thread
if (pthread_create(&thread, NULL, packet_receiving_thread, NULL)) if (pthread_create(&thread, NULL, packet_receiving_thread, NULL))
error(EXIT_FAILURE, errno, "Couldn't create thread"); error(EXIT_FAILURE, errno, "Couldn't create packet receiving thread");
// Verbose loop // Verbose loop
for (;;) { for (;;) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment