summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
Diffstat (limited to 'vms')
-rw-r--r--vms/vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vms/vms.c b/vms/vms.c
index 7aab61df58..14bb05eb23 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -1320,7 +1320,7 @@ Perl_vmssetenv(pTHX_ const char *lnm, const char *eqv, struct dsc$descriptor_s *
case LIB$_NOSUCHSYM: case SS$_NOLOGNAM:
set_errno(EINVAL); break;
case SS$_NOPRIV:
- set_errno(EACCES);
+ set_errno(EACCES); break;
default:
_ckvmssts(retsts);
set_errno(EVMSERR);