diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-30 13:55:24 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-30 13:55:24 -0500 |
commit | ed8a56cc65411b8d00e4a8a9366855ea101f2e27 (patch) | |
tree | 654f6c2f1a2241598c96d5755aa0c1088cb890cb /buffer.c | |
parent | 2994bf93de60930af3855db7a230c27be77de4ef (diff) |
better startup, informative message when nothing's open
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -625,7 +625,7 @@ Status buffer_load_file(TextBuffer *buffer, char const *filename) { success = false; } } else { - buffer_seterr(buffer, "File %s does not exist.", filename); + buffer_seterr(buffer, "Couldn't open file %s: %s.", filename, strerror(errno)); success = false; } return success; |