Use fflush() after printing pty in bin/pattyd.c
This commit is contained in:
parent
bcc1c69d45
commit
0b568435e9
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ static int handle_if(struct context *ctx,
|
||||||
if (isatty(fd) && (pty = ptsname(fd)) != NULL) {
|
if (isatty(fd) && (pty = ptsname(fd)) != NULL) {
|
||||||
printf("if %s pty %s\n",
|
printf("if %s pty %s\n",
|
||||||
patty_ax25_if_name(iface), pty);
|
patty_ax25_if_name(iface), pty);
|
||||||
|
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue