mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
fix some printf arguments
This commit is contained in:
parent
67754ad3bc
commit
aaeafa49c1
4 changed files with 5 additions and 5 deletions
|
|
@ -227,7 +227,7 @@ static int setup_socket(struct server *server)
|
|||
if (fd < 0)
|
||||
return fd;
|
||||
|
||||
pw_log_info("%lx %d", server->entity_id, server->ifindex);
|
||||
pw_log_info("0x%"PRIx64" %d", server->entity_id, server->ifindex);
|
||||
|
||||
server->source = pw_loop_add_io(impl->loop, fd, SPA_IO_IN, true, on_socket_data, server);
|
||||
if (server->source == NULL) {
|
||||
|
|
|
|||
|
|
@ -419,7 +419,7 @@ struct avb_maap *avb_maap_register(struct server *server)
|
|||
}
|
||||
|
||||
maap->server = server;
|
||||
pw_log_info("%lx %d", server->entity_id, server->ifindex);
|
||||
pw_log_info("0x%"PRIx64" %d", server->entity_id, server->ifindex);
|
||||
|
||||
pw_getrandom(maap->xsubi, sizeof(maap->xsubi), 0);
|
||||
load_state(maap);
|
||||
|
|
|
|||
|
|
@ -599,8 +599,8 @@ static int set_rlimit(struct impl *impl)
|
|||
rttime = pw_rtkit_get_rttime_usec_max(impl->system_bus);
|
||||
if (rttime >= 0) {
|
||||
if ((rlim_t)rttime < rl.rlim_cur) {
|
||||
pw_log_debug("clamping rt.time.soft from %ld to %lld because of RTKit",
|
||||
rl.rlim_cur, rttime);
|
||||
pw_log_debug("clamping rt.time.soft from %llu to %lld because of RTKit",
|
||||
(long long)rl.rlim_cur, rttime);
|
||||
}
|
||||
|
||||
rl.rlim_cur = SPA_MIN(rl.rlim_cur, (rlim_t)rttime);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue