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
/
locale
/
localectl.c
diff --git
a/src/locale/localectl.c
b/src/locale/localectl.c
index ce31e1ffce9c97459cfe9db44090c317a1dc3d91..fc312894c6c20253926a25ab5e5fa164a36bfd58 100644
(file)
--- a/
src/locale/localectl.c
+++ b/
src/locale/localectl.c
@@
-53,7
+53,7
@@
static void pager_open_if_enabled(void) {
if (arg_no_pager)
return;
- pager_open();
+ pager_open(
false
);
}
static void polkit_agent_open_if_enabled(void) {
@@
-421,7
+421,7
@@
static int add_locales_from_libdir (Set *locales) {
errno = 0;
}
- if (errno
!=
0) {
+ if (errno
>
0) {
log_error("Failed to read locale directory: %m");
return -errno;
}