summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index aa8a84f2c5..1cab029d6e 100644
--- a/util.c
+++ b/util.c
@@ -3723,7 +3723,7 @@ Perl_sv_getcwd(pTHX_ register SV *sv)
*SvEND(sv) = '\0';
SvPOK_only(sv);
- hreif (PerlDir_chdir(SvPVX(sv)) < 0) {
+ if (PerlDir_chdir(SvPVX(sv)) < 0) {
SV_CWD_RETURN_UNDEF;
}
}