Snippets for kismet 0.202509.1 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/testing/kismet/kismet-0.202509.1-r1.log.
-
phy_bluetooth.cc:481:17: warning: unused variable 'minor_class' [-Wunused-variable] 481 | uint8_t minor_class = inquiry->minor_class >> 2; | ^~~~~~~~~~~ -
phy_bluetooth.cc:483:17: warning: unused variable 'major_class' [-Wunused-variable] 483 | uint8_t major_class = major_group & 0x1F; | ^~~~~~~~~~~ -
capture_framework.c:1551:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1551 | snprintf(errstr, STATUS_MAX, "Attempted to clean up channels which were " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
capture_framework.c:1551:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1551 | snprintf(errstr, STATUS_MAX, "Attempted to clean up channels which were " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
capture_framework.c:1604:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1604 | snprintf(errstr, STATUS_MAX, "Removed %lu channels from the channel list " | ~~^ | | | long unsigned int | %u 1605 | "because the source could not tune to them", 1606 | caph->channel_hop_failure_list_sz); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
capture_framework.c:2159:86: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 2159 | fprintf(stderr, "FATAL: Capture source (%s) malforned too-small v3 packet (%lu / %lu)\n", | ~~^ | | | long unsigned int | %u 2160 | caph->capsource_type, len, packet_sz + sizeof(kismet_external_frame_v3_t)); | ~~~ | | | size_t {aka unsigned int} -
capture_framework.c:2159:92: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] 2159 | fprintf(stderr, "FATAL: Capture source (%s) malforned too-small v3 packet (%lu / %lu)\n", | ~~^ | | | long unsigned int | %u 2160 | caph->capsource_type, len, packet_sz + sizeof(kismet_external_frame_v3_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} -
capture_framework.c:2247:99: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 2247 | fprintf(stderr, "FATAL: Capture source (%s) incoming packet too large for ringbuf (%u / %lu)\n", | ~~^ | | | long unsigned int | %u 2248 | caph->capsource_type, total_sz, kis_simple_ringbuf_size(caph->in_ringbuf)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
log_tools/kismetdb_strip_packet_content.c:179:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 179 | printf("ERROR: Writing %lu to '%s' failed: %s\n", | ~~^ | | | long unsigned int | %u 180 | copysz, out_fname, strerror(errno)); | ~~~~~~ | | | size_t {aka unsigned int} -
capture_linux_bluetooth.c:427:32: warning: unused variable 'cstat' [-Wunused-variable] 427 | struct mgmt_ev_cmd_status *cstat; | ^~~~~