chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: rename parse_usec() to parse_sec() sinds the default unit is seconds
[elogind.git]
/
src
/
core
/
unit.c
diff --git
a/src/core/unit.c
b/src/core/unit.c
index 75a49d5e24cae9a78f2c1db36f3cd1ce82456f4e..a0d36569a885f93f486f04e59aafdd30dfd7b279 100644
(file)
--- a/
src/core/unit.c
+++ b/
src/core/unit.c
@@
-698,7
+698,7
@@
void unit_dump(Unit *u, FILE *f, const char *prefix) {
fprintf(f, "%s\tSource Path: %s\n", prefix, u->source_path);
STRV_FOREACH(j, u->dropin_paths)
fprintf(f, "%s\tSource Path: %s\n", prefix, u->source_path);
STRV_FOREACH(j, u->dropin_paths)
- fprintf(f, "%s\tDrop
i
n Path: %s\n", prefix, *j);
+ fprintf(f, "%s\tDrop
I
n Path: %s\n", prefix, *j);
if (u->job_timeout > 0)
fprintf(f, "%s\tJob Timeout: %s\n", prefix, format_timespan(timespan, sizeof(timespan), u->job_timeout));
if (u->job_timeout > 0)
fprintf(f, "%s\tJob Timeout: %s\n", prefix, format_timespan(timespan, sizeof(timespan), u->job_timeout));
@@
-2910,7
+2910,7
@@
int unit_write_drop_in(Unit *u, bool runtime, const char *name, const char *data
return r;
mkdir_p(p, 0755);
return r;
mkdir_p(p, 0755);
- return write_
one_line
_file_atomic_label(q, data);
+ return write_
string
_file_atomic_label(q, data);
}
int unit_remove_drop_in(Unit *u, bool runtime, const char *name) {
}
int unit_remove_drop_in(Unit *u, bool runtime, const char *name) {