Skip to content

Commit 071dc80

Browse files
author
Octavian Purdila
authored
Merge pull request torvalds#196 from liuyuan10/fix
lkl: Fix lkl_add_neighbor close
2 parents 78d9357 + 2fd1e00 commit 071dc80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lkl/lib/net.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,6 @@ int lkl_add_neighbor(int ifindex, int af, void* ip, void* mac)
354354
err = rtnl_talk(fd, &req2.n);
355355

356356
exit:
357-
close(fd);
357+
lkl_sys_close(fd);
358358
return err;
359359
}

0 commit comments

Comments
 (0)