From c4df15b39c0000cc3bb395309da5550563c5ee72 Mon Sep 17 00:00:00 2001 From: skarg Date: Sun, 7 Mar 2010 10:22:05 +0000 Subject: [PATCH] Corrected error message. --- bacnet-stack/ports/win32/bip-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/ports/win32/bip-init.c b/bacnet-stack/ports/win32/bip-init.c index c8f32148..c2ff4b0f 100644 --- a/bacnet-stack/ports/win32/bip-init.c +++ b/bacnet-stack/ports/win32/bip-init.c @@ -429,7 +429,7 @@ bool bip_init( rv = bind(sock_fd, (const struct sockaddr *) &sin, sizeof(struct sockaddr)); if (rv < 0) { - fprintf(stderr, "bip: failed to bind to %s port %hd\n", + fprintf(stderr, "bip: failed to bind to %s port %hu\n", inet_ntoa(sin.sin_addr), bip_get_port()); close(sock_fd); bip_set_socket(-1);