summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2005-10-23 10:16:45 +0000
committerMarcus Holland-Moritz <mhx-perl@gmx.net>2005-10-23 10:16:45 +0000
commit6e186fbe5e810b53fd043e653387f61258900a38 (patch)
tree7e3c2a63a1971f2509c7e28d4c8871d0c633fb0a /perl.c
parent7ded32065eb4fdd4bee8fba5b3315dbd893ba13d (diff)
downloadperl-6e186fbe5e810b53fd043e653387f61258900a38.tar.gz
Fix mismatched braces in S_fd_on_nosuid_fs().
p4raw-id: //depot/perl@25825
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/perl.c b/perl.c
index 1a4b8891c2..e3354321b2 100644
--- a/perl.c
+++ b/perl.c
@@ -3704,10 +3704,9 @@ S_fd_on_nosuid_fs(pTHX_ int fd)
cmplen = sizeof(fsd.fd_req.path);
if (strnEQ(fsd.fd_req.path, us.f_fname, cmplen) &&
fdst.st_dev == fsd.fd_req.dev) {
- check_okay = 1;
- on_nosuid = fsd.fd_req.flags & PERL_MOUNT_NOSUID;
- on_noexec = fsd.fd_req.flags & PERL_MOUNT_NOEXEC;
- }
+ check_okay = 1;
+ on_nosuid = fsd.fd_req.flags & PERL_MOUNT_NOSUID;
+ on_noexec = fsd.fd_req.flags & PERL_MOUNT_NOEXEC;
}
}
}