Use fflush() after printing pty in bin/pattyd.c

This commit is contained in:
XANTRONIX Development 2020-09-22 14:59:32 -04:00 committed by XANTRONIX Industrial
parent bcc1c69d45
commit 0b568435e9

View file

@ -124,6 +124,8 @@ static int handle_if(struct context *ctx,
if (isatty(fd) && (pty = ptsname(fd)) != NULL) {
printf("if %s pty %s\n",
patty_ax25_if_name(iface), pty);
fflush(stdout);
}
}