chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
socket: guarantee order in which sockets are passed to be the one of the configuratio...
[elogind.git]
/
src
/
utmp-wtmp.c
diff --git
a/src/utmp-wtmp.c
b/src/utmp-wtmp.c
index 83da640bf351c148f290592b726d8ab39d175bb0..b03a3e70af9dbf8180a78763a420a6de5dcd6d92 100644
(file)
--- a/
src/utmp-wtmp.c
+++ b/
src/utmp-wtmp.c
@@
-370,7
+370,7
@@
int utmp_wall(const char *message, bool (*match_tty)(const char *tty)) {
goto finish;
}
- getttyname_
malloc(
&tty);
+ getttyname_
harder(STDIN_FILENO,
&tty);
if (asprintf(&text,
"\a\r\n"