summaryrefslogtreecommitdiff
path: root/ebcdic.c
diff options
context:
space:
mode:
Diffstat (limited to 'ebcdic.c')
-rw-r--r--ebcdic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ebcdic.c b/ebcdic.c
index 14e3955096..d74351078d 100644
--- a/ebcdic.c
+++ b/ebcdic.c
@@ -15,7 +15,7 @@ ebcdic_control(int ch)
ch = toupper(ch);
if ((ctlp = strchr(controllablechars, ch)) == 0) {
- die("unrecognised control character '%c'\n", ch);
+ Perl_die(aTHX_ "unrecognised control character '%c'\n", ch);
}
if (ctlp == controllablechars)
@@ -28,6 +28,6 @@ ebcdic_control(int ch)
else if (0 < ch && ch < (sizeof(controllablechars) - 1))
return(controllablechars[ch+1]);
else
- die("invalid control request: '\\%03o'\n", ch & 0xFF);
+ Perl_die(aTHX_ "invalid control request: '\\%03o'\n", ch & 0xFF);
}
}