chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
systemctl: highlight filenames in cat
[elogind.git]
/
src
/
shared
/
log.c
diff --git
a/src/shared/log.c
b/src/shared/log.c
index c654b862284a70449e96384242fccbbd43c564e6..2404de85e32bb849c4b6a55e7fc288043d2f1e6f 100644
(file)
--- a/
src/shared/log.c
+++ b/
src/shared/log.c
@@
-713,6
+713,7
@@
_noreturn_ void log_assert_failed_unreachable(const char *text, const char *file
}
void log_assert_failed_return(const char *text, const char *file, int line, const char *func) {
+ PROTECT_ERRNO;
log_assert(LOG_DEBUG, text, file, line, func, "Assertion '%s' failed at %s:%u, function %s(). Ignoring.");
}