chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: when an already abandoned unit gets abandoned again generate a clean error
[elogind.git]
/
src
/
shared
/
path-util.c
diff --git
a/src/shared/path-util.c
b/src/shared/path-util.c
index 384386177947fdb7cc9c14df1942949a88a17631..fc42a704b7fd77742da60639333e848452e90d6b 100644
(file)
--- a/
src/shared/path-util.c
+++ b/
src/shared/path-util.c
@@
-464,9
+464,9
@@
int find_binary(const char *name, char **filename) {
}
}
}
}
-bool paths_check_timestamp(c
har **
paths, usec_t *timestamp, bool update) {
+bool paths_check_timestamp(c
onst char* const*
paths, usec_t *timestamp, bool update) {
bool changed = false;
bool changed = false;
- c
har **
i;
+ c
onst char* const*
i;
assert(timestamp);
assert(timestamp);
@@
-486,7
+486,7
@@
bool paths_check_timestamp(char **paths, usec_t *timestamp, bool update) {
if (*timestamp >= u)
continue;
if (*timestamp >= u)
continue;
- log_debug("timestamp of '%s' changed
\n
", *i);
+ log_debug("timestamp of '%s' changed", *i);
/* update timestamp */
if (update) {
/* update timestamp */
if (update) {