summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jrk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/jrk.h b/jrk.h
index 96cf70d..f3c80da 100644
--- a/jrk.h
+++ b/jrk.h
@@ -331,7 +331,7 @@ jrk_fd_open_write(char *path)
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
if (result < 0)
- jrk_edie("jrk_fd_open_read");
+ jrk_edie("jrk_fd_open_write");
return result;
}
@@ -344,7 +344,7 @@ jrk_fd_open_write_append(char *path)
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
if (result < 0)
- jrk_edie("jrk_fd_open_read");
+ jrk_edie("jrk_fd_open_write_append");
return result;
}