chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
networkctl: print the Gateway in the status output
[elogind.git]
/
src
/
console
/
consoled-terminal.c
diff --git
a/src/console/consoled-terminal.c
b/src/console/consoled-terminal.c
index 755f23ece23111d199a0e9d496be355b136aa3dd..19d14016ad85f8730bf9abda9037768bdb22428e 100644
(file)
--- a/
src/console/consoled-terminal.c
+++ b/
src/console/consoled-terminal.c
@@
-165,7
+165,7
@@
void terminal_run(Terminal *t) {
setenv("COLORTERM", "systemd-console", 1);
execve(argv[0], argv, environ);
- log_error
(
"Cannot exec %s (%d): %m", argv[0], -errno);
+ log_error
_errno(errno,
"Cannot exec %s (%d): %m", argv[0], -errno);
_exit(1);
}
}