Skip to content

Commit

Permalink
dinit: selinux_transition: remove superfluous use of type inference
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Sandhu <[email protected]>
  • Loading branch information
WavyEbuilder committed Mar 2, 2025
1 parent 2a4eeb9 commit 1dd6dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dinit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ static bool selinux_transition(const char *exe)
// may also fail due to our own inability to access /proc later on due to e.g. security policy.
// Let's just store the return code so we can umount later when we're done with /proc if
// succesful.
auto proc_mount_rc = mount("proc", "/proc", "proc", 0, 0);
int proc_mount_rc = mount("proc", "/proc", "proc", 0, 0);

char *current_context = nullptr;
char *file_context = nullptr;
Expand Down

0 comments on commit 1dd6dbf

Please sign in to comment.