summaryrefslogtreecommitdiff
path: root/ext/SDBM_File/SDBM_File.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/SDBM_File/SDBM_File.xs')
-rw-r--r--ext/SDBM_File/SDBM_File.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/SDBM_File/SDBM_File.xs b/ext/SDBM_File/SDBM_File.xs
index 97f9c1f9f4..38eaebf5c5 100644
--- a/ext/SDBM_File/SDBM_File.xs
+++ b/ext/SDBM_File/SDBM_File.xs
@@ -42,7 +42,7 @@ sdbm_STORE(db, key, value, flags = DBM_REPLACE)
if (RETVAL) {
if (RETVAL < 0 && errno == EPERM)
croak("No write permission to sdbm file");
- warn("sdbm store returned %d, errno %d, key \"%s\"",
+ croak("sdbm store returned %d, errno %d, key \"%s\"",
RETVAL,errno,key.dptr);
sdbm_clearerr(db);
}