chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a snprinf wrapper which checks that the buffer was big enough
[elogind.git]
/
src
/
core
/
unit.c
diff --git
a/src/core/unit.c
b/src/core/unit.c
index 23ad7c10e0739733cb7d0bab479392f003aecaf3..c3433b2c5d5e6c04d09765d4afe05cbfcc9dfdbf 100644
(file)
--- a/
src/core/unit.c
+++ b/
src/core/unit.c
@@
-1399,7
+1399,6
@@
static void unit_status_log_starting_stopping_reloading(Unit *u, JobType t) {
DISABLE_WARNING_FORMAT_NONLITERAL;
snprintf(buf, sizeof(buf), format, unit_description(u));
- char_array_0(buf);
REENABLE_WARNING;
mid = t == JOB_START ? SD_MESSAGE_UNIT_STARTING :