Skip to contentSkip to conversation

tools: Fix recevied/received typos

PATCH Applied Mat Martineau 2 participants 2 messages Sep 27, 2016 – Sep 28, 2016 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tools: Fix recevied/received typos

---

I removed the ubcsp.c change because the file's CRLF line endings were causing problems with git-am, and since the spelling problem there is not user-visible.

 tools/l2test.c  | 2 +-
 tools/scotest.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/l2test.c +1 -1
index d4e3ae6..1819423 100644
@@ -830,7 +830,7 @@ static void dump_mode(int sk)
 			return;
 		}
 
-		syslog(LOG_INFO, "Recevied %d bytes", len);
+		syslog(LOG_INFO, "Received %d bytes", len);
 		hexdump(buf, len);
 	}
 }
tools/scotest.c +1 -1
index 596e403..f894c24 100644
@@ -265,7 +265,7 @@ static void dump_mode(int sk)
 
 	syslog(LOG_INFO,"Receiving ...");
 	while ((len = read(sk, buf, data_size)) > 0)
-		syslog(LOG_INFO, "Recevied %d bytes", len);
+		syslog(LOG_INFO, "Received %d bytes", len);
 }
 
 static void recv_mode(int sk)
Signature · 1 line
2.10.0
maintainer Applied
#1 lore raw

Hi Mat,

Quoted 37 lines · Mat Martineau

---

I removed the ubcsp.c change because the file's CRLF line endings were causing problems with git-am, and since the spelling problem there is not user-visible.

 tools/l2test.c  | 2 +-
 tools/scotest.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/l2test.c +1 -1
index d4e3ae6..1819423 100644
@@ -830,7 +830,7 @@ static void dump_mode(int sk)
                        return;
                }
 
-               syslog(LOG_INFO, "Recevied %d bytes", len);
+               syslog(LOG_INFO, "Received %d bytes", len);
                hexdump(buf, len);
        }
 }
tools/scotest.c +1 -2
index 596e403..f894c24 100644
@@ -265,7 +265,7 @@ static void dump_mode(int sk)
 
        syslog(LOG_INFO,"Receiving ...");
        while ((len = read(sk, buf, data_size)) > 0)
-               syslog(LOG_INFO, "Recevied %d bytes", len);
+               syslog(LOG_INFO, "Received %d bytes", len);
 }
 
 static void recv_mode(int sk)
--
Quoted 1 line

2.10.0

Applied, thanks.

Signature · 1 line
Luiz Augusto von Dentz