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
/
shared
/
conf-parser.c
diff --git
a/src/shared/conf-parser.c
b/src/shared/conf-parser.c
index c2cf5a6a196d08e4f070770c070ac9a651a418d6..a87df382ea26cf6ac69bd5a0b2805b2bd15c66a2 100644
(file)
--- a/
src/shared/conf-parser.c
+++ b/
src/shared/conf-parser.c
@@
-792,7
+792,7
@@
int config_parse_path_strv(
return 0;
}
return 0;
}
-int config_parse_
u
sec(
+int config_parse_sec(
const char *filename,
unsigned line,
const char *section,
const char *filename,
unsigned line,
const char *section,
@@
-809,7
+809,7
@@
int config_parse_usec(
assert(rvalue);
assert(data);
assert(rvalue);
assert(data);
- if (parse_
u
sec(rvalue, usec) < 0) {
+ if (parse_sec(rvalue, usec) < 0) {
log_error("[%s:%u] Failed to parse time value, ignoring: %s", filename, line, rvalue);
return 0;
}
log_error("[%s:%u] Failed to parse time value, ignoring: %s", filename, line, rvalue);
return 0;
}