From d368a71398e7a6c4e3faa9489a75ef1dbdc87a87 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 5 Sep 2010 08:51:12 +0800 Subject: nat: Use ':' to separate the message and strerror --- openbsc/src/nat/bsc_nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 411782c58..a4c2d69a4 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -967,7 +967,7 @@ static int listen_for_bsc(struct bsc_fd *bfd, struct in_addr *in_addr, int port) ret = bind(bfd->fd, (struct sockaddr *) &addr, sizeof(addr)); if (ret < 0) { - fprintf(stderr, "Could not bind the BSC socket %s\n", + fprintf(stderr, "Could not bind the BSC socket: %s\n", strerror(errno)); return -EIO; } -- cgit v1.2.3