From 0ddb4723ced79d92d4918c5659e329088fdac509 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Wed, 26 Jul 2017 14:22:53 -0700 Subject: [PATCH] lcdgps: fix %u to the correct %d. --- lcdgps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcdgps.c b/lcdgps.c index 12e3cc06..52730c43 100644 --- a/lcdgps.c +++ b/lcdgps.c @@ -381,7 +381,7 @@ int main(int argc, char *argv[]) /* coverity[uninit_use_in_call] */ rc = bind(sd, (struct sockaddr *) &localAddr, sizeof(localAddr)); if (rc == -1) { - printf("%s: cannot bind port TCP %u\n",argv[0],LCDDPORT); + printf("%s: cannot bind port TCP %d\n",argv[0],LCDDPORT); perror("error "); exit(EXIT_FAILURE); }