diff options
context:
space:
mode:
Diffstat (limited to 'source/html.c')
-rw-r--r--source/html.c4
1 file changed, 2 insertions, 2 deletions
diff --git a/source/html.c b/source/html.c
index ae8acd6..2e4ec66 100644
--- a/source/html.c
+++ b/source/html.c
@@ -83,7 +83,7 @@ char *cgit_fmt(const char *format, ...)
len = vsnprintf(buf[slot], sizeof(buf[slot]), format, args);
va_end(args);
if (len < 0 || (size_t)len >= sizeof(buf[slot])) {
- fprintf(stderr, "[html.c] string truncated: %s\n", format);
+ fprintf(stderr, "[cgit] String truncated: %s\n", format);
exit(1);
}
return buf[slot];
@@ -384,7 +384,7 @@ int html_include(const char *filename)
size_t len;
if (!(f = fopen(filename, "r"))) {
- fprintf(stderr, "[cgit] Failed to include file %s: %s (%d).\n",
+ fprintf(stderr, "[cgit] Error including file %s: %s (%d)\n",
filename, strerror(errno), errno);
return -1;
}