summaryrefslogtreecommitdiffstats
path: root/src/host/osmocon/osmocon.c
diff options
context:
space:
mode:
authorErik Ekman <yarrick@kryo.se>2010-03-18 23:21:27 +0100
committerIngo Albrecht <prom@berlin.ccc.de>2010-03-19 02:40:19 +0100
commitfa59bb481ebe956cd4d5d78328bc965f56b2b424 (patch)
treee5f2a0602625d1554fb42e4e90f38f175b4fab76 /src/host/osmocon/osmocon.c
parent7f60fda60d76ad4b28631f360b4deb4989123abe (diff)
Two more small patches
Hi Found a spelling error while testing my C139, and also fixed the warning discussed in my earlier patch. /Erik From 9d8a7454367f3d095e6d4c046e84a22126ff887a Mon Sep 17 00:00:00 2001 From: Erik Ekman <yarrick@kryo.se> Date: Wed, 17 Mar 2010 22:48:57 +0100 Subject: [PATCH 1/2] Remove operand which has no effect Signed-off-by: Ingo Albrecht <prom@berlin.ccc.de>
Diffstat (limited to 'src/host/osmocon/osmocon.c')
-rw-r--r--src/host/osmocon/osmocon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c
index 8147a102..82ff0e08 100644
--- a/src/host/osmocon/osmocon.c
+++ b/src/host/osmocon/osmocon.c
@@ -268,7 +268,7 @@ static void hexdump(const uint8_t *data, unsigned int len)
const uint8_t *bufptr = data;
int n;
- for (n=0; bufptr, n < len; n++, bufptr++)
+ for (n=0; n < len; n++, bufptr++)
printf("%02x ", *bufptr);
printf("\n");
}
@@ -457,7 +457,7 @@ static int handle_read(void)
dnload.state = WAITING_PROMPT1;
dnload.write_ptr = dnload.data;
} else if (!memcmp(buffer, ftmtool, sizeof(ftmtool))) {
- printf("Received FTMTOOL from phone, ramolader has aborted\n");
+ printf("Received FTMTOOL from phone, ramloader has aborted\n");
dnload.serial_fd.when = BSC_FD_READ;
dnload.state = WAITING_PROMPT1;
dnload.write_ptr = dnload.data;