chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mount: deal with inotify queue overflow
[elogind.git]
/
src
/
core
/
locale-setup.c
diff --git
a/src/core/locale-setup.c
b/src/core/locale-setup.c
index 5177dbfd0862fe34119eca15c633b849ad7ce50e..e993c573219c17888bb522e8f37359c397066b2c 100644
(file)
--- a/
src/core/locale-setup.c
+++ b/
src/core/locale-setup.c
@@
-56,7
+56,7
@@
int locale_setup(char ***environment) {
NULL);
if (r < 0 && r != -ENOENT)
NULL);
if (r < 0 && r != -ENOENT)
- log_warning
("Failed to read /proc/cmdline: %s", strerror(-r)
);
+ log_warning
_errno(r, "Failed to read /proc/cmdline: %m"
);
}
/* Hmm, nothing set on the kernel cmd line? Then let's
}
/* Hmm, nothing set on the kernel cmd line? Then let's
@@
-80,7
+80,7
@@
int locale_setup(char ***environment) {
NULL);
if (r < 0 && r != -ENOENT)
NULL);
if (r < 0 && r != -ENOENT)
- log_warning
("Failed to read /etc/locale.conf: %s", strerror(-r)
);
+ log_warning
_errno(r, "Failed to read /etc/locale.conf: %m"
);
}
add = NULL;
}
add = NULL;