@@ -217,7 +217,7 @@ static void test_event_loop(int ifindex) {
217217 assert_se (sd_netlink_open (& rtnl ) >= 0 );
218218 assert_se (sd_rtnl_message_new_link (rtnl , & m , RTM_GETLINK , ifindex ) >= 0 );
219219
220- assert_se (sd_netlink_call_async (rtnl , m , & link_handler , ifname , 0 , NULL ) >= 0 );
220+ assert_se (sd_netlink_call_async (rtnl , m , link_handler , ifname , 0 , NULL ) >= 0 );
221221
222222 assert_se (sd_event_default (& event ) >= 0 );
223223
@@ -258,7 +258,7 @@ static void test_async(int ifindex) {
258258
259259 assert_se (sd_rtnl_message_new_link (rtnl , & m , RTM_GETLINK , ifindex ) >= 0 );
260260
261- assert_se (sd_netlink_call_async (rtnl , m , & link_handler , ifname , 0 , & serial ) >= 0 );
261+ assert_se (sd_netlink_call_async (rtnl , m , link_handler , ifname , 0 , & serial ) >= 0 );
262262
263263 assert_se (sd_netlink_wait (rtnl , 0 ) >= 0 );
264264 assert_se (sd_netlink_process (rtnl , & r ) >= 0 );
@@ -277,10 +277,10 @@ static void test_pipe(int ifindex) {
277277 assert_se (sd_rtnl_message_new_link (rtnl , & m2 , RTM_GETLINK , ifindex ) >= 0 );
278278
279279 counter ++ ;
280- assert_se (sd_netlink_call_async (rtnl , m1 , & pipe_handler , & counter , 0 , NULL ) >= 0 );
280+ assert_se (sd_netlink_call_async (rtnl , m1 , pipe_handler , & counter , 0 , NULL ) >= 0 );
281281
282282 counter ++ ;
283- assert_se (sd_netlink_call_async (rtnl , m2 , & pipe_handler , & counter , 0 , NULL ) >= 0 );
283+ assert_se (sd_netlink_call_async (rtnl , m2 , pipe_handler , & counter , 0 , NULL ) >= 0 );
284284
285285 while (counter > 0 ) {
286286 assert_se (sd_netlink_wait (rtnl , 0 ) >= 0 );
@@ -330,12 +330,12 @@ static void test_match(void) {
330330
331331 assert_se (sd_netlink_open (& rtnl ) >= 0 );
332332
333- assert_se (sd_netlink_add_match (rtnl , RTM_NEWLINK , & link_handler , NULL ) >= 0 );
334- assert_se (sd_netlink_add_match (rtnl , RTM_NEWLINK , & link_handler , NULL ) >= 0 );
333+ assert_se (sd_netlink_add_match (rtnl , RTM_NEWLINK , link_handler , NULL ) >= 0 );
334+ assert_se (sd_netlink_add_match (rtnl , RTM_NEWLINK , link_handler , NULL ) >= 0 );
335335
336- assert_se (sd_netlink_remove_match (rtnl , RTM_NEWLINK , & link_handler , NULL ) == 1 );
337- assert_se (sd_netlink_remove_match (rtnl , RTM_NEWLINK , & link_handler , NULL ) == 1 );
338- assert_se (sd_netlink_remove_match (rtnl , RTM_NEWLINK , & link_handler , NULL ) == 0 );
336+ assert_se (sd_netlink_remove_match (rtnl , RTM_NEWLINK , link_handler , NULL ) == 1 );
337+ assert_se (sd_netlink_remove_match (rtnl , RTM_NEWLINK , link_handler , NULL ) == 1 );
338+ assert_se (sd_netlink_remove_match (rtnl , RTM_NEWLINK , link_handler , NULL ) == 0 );
339339
340340 assert_se ((rtnl = sd_netlink_unref (rtnl )) == NULL );
341341}
0 commit comments