Skip to content

Commit

Permalink
lcdgps: fix %u to the correct %d.
Browse files Browse the repository at this point in the history
  • Loading branch information
garyemiller committed Jul 26, 2017
1 parent 7512a36 commit 0ddb472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lcdgps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0ddb472

Please sign in to comment.