aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/serd_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/serd_internal.h b/src/serd_internal.h
index 9523af91..a74bde38 100644
--- a/src/serd_internal.h
+++ b/src/serd_internal.h
@@ -51,7 +51,8 @@ serd_fopen(const char* path, const char* mode)
{
FILE* fd = fopen(path, mode);
if (!fd) {
- fprintf(stderr, "Error opening file %s (%s)\n", path, strerror(errno));
+ fprintf(stderr, "error: failed to open file %s (%s)\n",
+ path, strerror(errno));
return NULL;
}
#if defined(HAVE_POSIX_FADVISE) && defined(HAVE_FILENO)