Skip to content

Commit 43b71fe

Browse files
intrigus-lgtmripatel-fd
authored andcommitted
xdp: reference correct fd in error
1 parent ebbe1cf commit 43b71fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/waltz/xdp/fd_xdp1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ fd_xdp_install( uint if_idx,
325325
}
326326
}
327327

328-
if( FD_UNLIKELY( -1==close( prog_fd ) ) ) FD_LOG_ERR(( "close(%d) failed (%i-%s)", xsk_map_fd, errno, fd_io_strerror( errno ) ));
328+
if( FD_UNLIKELY( -1==close( prog_fd ) ) ) FD_LOG_ERR(( "close(%d) failed (%i-%s)", prog_fd, errno, fd_io_strerror( errno ) ));
329329

330330
return (fd_xdp_fds_t){
331331
.xsk_map_fd = xsk_map_fd,

0 commit comments

Comments
 (0)