diff options
author | emax <emax@FreeBSD.org> | 2004-04-09 23:01:42 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2004-04-09 23:01:42 +0000 |
commit | 3513d3a4bf451f0df5b032f66e51942fa9a3bde8 (patch) | |
tree | fd0108eacca45da89afc49914a90d2c9665524c9 /usr.sbin/bluetooth | |
parent | fd167b36d818bcc374e0c630333755132e7bc813 (diff) | |
download | FreeBSD-src-3513d3a4bf451f0df5b032f66e51942fa9a3bde8.zip FreeBSD-src-3513d3a4bf451f0df5b032f66e51942fa9a3bde8.tar.gz |
Make sure Bluetooth stuff can be compiled on amd64
Submitted by: ps
Diffstat (limited to 'usr.sbin/bluetooth')
-rw-r--r-- | usr.sbin/bluetooth/l2ping/l2ping.c | 2 | ||||
-rw-r--r-- | usr.sbin/bluetooth/sdpcontrol/search.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bluetooth/l2ping/l2ping.c b/usr.sbin/bluetooth/l2ping/l2ping.c index 1caa93b..56d8ff6 100644 --- a/usr.sbin/bluetooth/l2ping/l2ping.c +++ b/usr.sbin/bluetooth/l2ping/l2ping.c @@ -267,7 +267,7 @@ usage(void) fprintf(stderr, "\t-f - No delay (soft of flood)\n"); fprintf(stderr, "\t-i wait - Delay between packets (sec)\n"); fprintf(stderr, "\t-s size - Packet size (bytes), " \ - "between %d and %d\n", sizeof(int32_t), NG_L2CAP_MAX_ECHO_SIZE); + "between %zd and %zd\n", sizeof(int32_t), NG_L2CAP_MAX_ECHO_SIZE); fprintf(stderr, "\t-h - Display this message\n"); exit(255); diff --git a/usr.sbin/bluetooth/sdpcontrol/search.c b/usr.sbin/bluetooth/sdpcontrol/search.c index 458d78b..dad6563 100644 --- a/usr.sbin/bluetooth/sdpcontrol/search.c +++ b/usr.sbin/bluetooth/sdpcontrol/search.c @@ -76,7 +76,7 @@ print_service_class_id_list(uint8_t const *start, uint8_t const *end) if (end - start < 2) { fprintf(stderr, "Invalid Service Class ID List. " \ - "Too short, len=%d\n", end - start); + "Too short, len=%zd\n", end - start); return; } @@ -230,7 +230,7 @@ print_protocol_descriptor(uint8_t const *start, uint8_t const *end) case SDP_DATA_UINT64: case SDP_DATA_INT64: SDP_GET64(value.uint64, start); - fprintf(stdout, "u/int64 %llu\n", value.uint64); + fprintf(stdout, "u/int64 %ju\n", value.uint64); break; case SDP_DATA_UINT128: @@ -307,7 +307,7 @@ print_protocol_descriptor_list(uint8_t const *start, uint8_t const *end) if (end - start < 2) { fprintf(stderr, "Invalid Protocol Descriptor List. " \ - "Too short, len=%d\n", end - start); + "Too short, len=%zd\n", end - start); return; } @@ -381,7 +381,7 @@ print_bluetooth_profile_descriptor_list(uint8_t const *start, uint8_t const *end if (end - start < 2) { fprintf(stderr, "Invalid Bluetooth Profile Descriptor List. " \ - "Too short, len=%d\n", end - start); + "Too short, len=%zd\n", end - start); return; } |