diff options
Diffstat (limited to 'tests/queue-test.c')
| -rw-r--r-- | tests/queue-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/queue-test.c b/tests/queue-test.c index 4129310..6562139 100644 --- a/tests/queue-test.c +++ b/tests/queue-test.c @@ -383,7 +383,7 @@ client_test_queue_destroy_with_attached_proxies(void) /* Check that the log contains some information about the attached * wl_callback proxy. */ log = map_file(client_log_fd, &log_len); - ret = snprintf(callback_name, sizeof(callback_name), "wl_callback@%u", + ret = snprintf(callback_name, sizeof(callback_name), "wl_callback#%u", wl_proxy_get_id((struct wl_proxy *) callback)); assert(ret > 0 && ret < (int)sizeof(callback_name) && "callback name creation failed (possibly truncated)"); @@ -456,7 +456,7 @@ client_test_queue_destroy_default_with_attached_proxies(void) /* Check that the log does not contain any warning about the attached * wl_callback proxy. */ log = maybe_map_file(client_log_fd, &log_len); - ret = snprintf(callback_name, sizeof(callback_name), "wl_callback@%u", + ret = snprintf(callback_name, sizeof(callback_name), "wl_callback#%u", wl_proxy_get_id((struct wl_proxy *) callback)); assert(ret > 0 && ret < (int)sizeof(callback_name) && "callback name creation failed (possibly truncated)"); |
