summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llmnrd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/llmnrd.c b/llmnrd.c
index c9ec6b5..d076484 100644
--- a/llmnrd.c
+++ b/llmnrd.c
@@ -161,6 +161,8 @@ int main(int argc, char **argv)
int llmnrd_sock_rtnl = -1;
int nfds;
+ setlinebuf(stdout);
+
while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) {
switch (c) {
case 'd':