summaryrefslogtreecommitdiffstats
path: root/src/gsmtap_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsmtap_util.c')
-rw-r--r--src/gsmtap_util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gsmtap_util.c b/src/gsmtap_util.c
index 66abdf17..ab4a28eb 100644
--- a/src/gsmtap_util.c
+++ b/src/gsmtap_util.c
@@ -286,11 +286,9 @@ static int gsmtap_wq_w_cb(struct osmo_fd *ofd, struct msgb *msg)
rc = write(ofd->fd, msg->data, msg->len);
if (rc < 0) {
- perror("writing msgb to gsmtap fd");
return rc;
}
if (rc != msg->len) {
- perror("short write to gsmtap fd");
return -EIO;
}
@@ -308,7 +306,6 @@ static int gsmtap_sink_fd_cb(struct osmo_fd *fd, unsigned int flags)
rc = read(fd->fd, buf, sizeof(buf));
if (rc < 0) {
- perror("reading from gsmtap sink fd");
return rc;
}
/* simply discard any data arriving on the socket */