chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
log.h: new log_oom() -> int -ENOMEM, use it
[elogind.git]
/
src
/
remount-fs
/
remount-fs.c
diff --git
a/src/remount-fs/remount-fs.c
b/src/remount-fs/remount-fs.c
index 8b3aaeb32cfd1d4d524d4a0eb4d8b144eb8a9ecd..636c46f0f39971f00d626566f95848b72585d4a9 100644
(file)
--- a/
src/remount-fs/remount-fs.c
+++ b/
src/remount-fs/remount-fs.c
@@
-114,7
+114,7
@@
int main(int argc, char *argv[]) {
s = strdup(me->mnt_dir);
if (!s) {
- log_
error("Out of memory."
);
+ log_
oom(
);
ret = EXIT_FAILURE;
continue;
}