diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-05-25 16:51:23 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-05-25 16:52:15 +0000 |
| commit | 05e8f2bf0906875e666469e0338f922d1113d034 (patch) | |
| tree | cef01190d12bfb9284ae43e34ab5ad1289dd9057 /libexec/talkd | |
| parent | 33acf0f26b490ea4887d820a3f45c56e3913a17d (diff) | |
Diffstat (limited to 'libexec/talkd')
| -rw-r--r-- | libexec/talkd/announce.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c index 80c663ba48b4..cfe8b4eae65e 100644 --- a/libexec/talkd/announce.c +++ b/libexec/talkd/announce.c @@ -40,6 +40,7 @@ #include <errno.h> #include <paths.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -152,7 +153,7 @@ print_mesg(const char *tty, CTL_MSG *request, * stack up processes trying to write messages to a tty * that is permanently blocked. */ - if (ttymsg(&iovec, 1, tty, RING_WAIT - 5) != NULL) + if (ttymsg(&iovec, 1, tty, RING_WAIT - 5, true) != 0) return (FAILED); return (SUCCESS); |
