summaryrefslogtreecommitdiffstats
path: root/openbsc/src/rs232.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/rs232.c')
-rw-r--r--openbsc/src/rs232.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/rs232.c b/openbsc/src/rs232.c
index 36af59cbf..22adf56c8 100644
--- a/openbsc/src/rs232.c
+++ b/openbsc/src/rs232.c
@@ -156,7 +156,7 @@ static int handle_ser_read(struct bsc_fd *bfd)
fprintf(stderr, "Invalid length in hdr: %u\n",
sh->rxmsg_bytes_missing);
}
- } else {
+ } else {
/* try to read as many of the missing bytes as are available */
rc = read(sh->fd.fd, msg->tail, sh->rxmsg_bytes_missing);
if (rc < 0) {