diff options
author | Gary E. Miller <gem@rellim.com> | 2017-07-26 14:22:53 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2017-07-26 14:22:53 -0700 |
commit | 0ddb4723ced79d92d4918c5659e329088fdac509 (patch) | |
tree | 1604fa2766a309d18e9d16d940aa5b37603c36d5 /lcdgps.c | |
parent | 7512a364254e1a35197c006e990b9b159fe523b4 (diff) | |
download | gpsd-0ddb4723ced79d92d4918c5659e329088fdac509.tar.gz |
lcdgps: fix %u to the correct %d.
Diffstat (limited to 'lcdgps.c')
-rw-r--r-- | lcdgps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |