From 38157a8937b6177f2f4c970d0ba8545d58d952ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Lebrun?= Date: Thu, 2 Nov 2023 12:39:37 +0100 Subject: [PATCH] pw-top: fix version constant used for pw_node_events MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This changes the value declared (3 currently versus 0 following this patch). I have not seen code checking this version number. Signed-off-by: Théo Lebrun --- src/tools/pw-top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/pw-top.c b/src/tools/pw-top.c index 50a0a5a98..aafa0d5eb 100644 --- a/src/tools/pw-top.c +++ b/src/tools/pw-top.c @@ -282,7 +282,7 @@ done: } static const struct pw_node_events node_events = { - PW_VERSION_NODE, + PW_VERSION_NODE_EVENTS, .info = node_info, .param = node_param, };