summaryrefslogtreecommitdiff
path: root/lcdgps.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2017-07-26 14:22:53 -0700
committerGary E. Miller <gem@rellim.com>2017-07-26 14:22:53 -0700
commit0ddb4723ced79d92d4918c5659e329088fdac509 (patch)
tree1604fa2766a309d18e9d16d940aa5b37603c36d5 /lcdgps.c
parent7512a364254e1a35197c006e990b9b159fe523b4 (diff)
downloadgpsd-0ddb4723ced79d92d4918c5659e329088fdac509.tar.gz
lcdgps: fix %u to the correct %d.
Diffstat (limited to 'lcdgps.c')
-rw-r--r--lcdgps.c2
1 files changed, 1 insertions, 1 deletions
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);
}