summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2006-07-04 19:08:16 +0000
committerCraig A. Berry <craigberry@mac.com>2006-07-04 19:08:16 +0000
commitefdc3048d46d49bcf1e1cc157d3f68e60f808551 (patch)
tree1f0e17cca1cc575ab111a07f0aa28ce19e5f4e1d /doio.c
parentce809d1f7af78cdf1d563b34bb59d747f8e8945d (diff)
downloadperl-efdc3048d46d49bcf1e1cc157d3f68e60f808551.tar.gz
fix type mismatch warning caused by return statement lurking in DIE macro
p4raw-id: //depot/perl@28479
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index 25756ab5dd..8b9c6b2fa6 100644
--- a/doio.c
+++ b/doio.c
@@ -1321,7 +1321,7 @@ Perl_my_stat(pTHX)
#ifdef HAS_DIRFD
return (PL_laststatval = PerlLIO_fstat(dirfd(IoDIRP(io)), &PL_statcache));
#else
- DIE(aTHX_ PL_no_func, "dirfd");
+ Perl_die(aTHX_ PL_no_func, "dirfd");
#endif
} else {
if (ckWARN2(WARN_UNOPENED,WARN_CLOSED))