summaryrefslogtreecommitdiff
path: root/ext/NDBM_File/NDBM_File.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/NDBM_File/NDBM_File.xs')
-rw-r--r--ext/NDBM_File/NDBM_File.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/NDBM_File/NDBM_File.xs b/ext/NDBM_File/NDBM_File.xs
index 52c08ebe76..d129a9c490 100644
--- a/ext/NDBM_File/NDBM_File.xs
+++ b/ext/NDBM_File/NDBM_File.xs
@@ -41,7 +41,7 @@ dbm_STORE(db, key, value, flags = DBM_REPLACE)
if (RETVAL) {
if (RETVAL < 0 && errno == EPERM)
croak("No write permission to ndbm file");
- warn("ndbm store returned %d, errno %d, key \"%s\"",
+ croak("ndbm store returned %d, errno %d, key \"%s\"",
RETVAL,errno,key.dptr);
dbm_clearerr(db);
}