Skip to content

Commit

Permalink
Update fd_xdp_redirect_user.c
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-ares authored and ripatel-fd committed Aug 18, 2023
1 parent 2df533c commit c4c0609
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tango/xdp/fd_xdp_redirect_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ fd_xdp_reperm( char const * path,
if ( FD_UNLIKELY( 0 > ( fd = open( path, 0 ) ) ) ) {
FD_LOG_WARNING(( "open(%s, 0) failed (%d-%s)",
path, errno, strerror( errno ) ));
return;
}

if( FD_UNLIKELY( 0!=fchown( fd, (uint)uid, (uint)gid ) ) ) {
Expand Down

0 comments on commit c4c0609

Please sign in to comment.