Skip to content

Commit dbae074

Browse files
committed
bugfix: add missing ":" to errExit message
Use `Error: ` instead of just `Error `, for consistency with the other error messages. This amends commit f7da0e7 ("build: move errExit macro into inline function", 2024-01-29) / PR netblue30#6217. Misc: This was noticed on netblue30#6705.
1 parent 60a35c2 commit dbae074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
static inline void __attribute__((noreturn))
4545
_errExit(const char *fname, int lineno, const char *func, const char *msg) {
4646
char msgout[500];
47-
snprintf(msgout, 500, "Error %s:%d: %s: %s", fname, lineno, func, msg);
47+
snprintf(msgout, 500, "Error: %s:%d: %s: %s", fname, lineno, func, msg);
4848
perror(msgout);
4949
exit(1);
5050
}

0 commit comments

Comments
 (0)