flush output after events
suggested by Martin Dubuc who wants to log it to file
This commit is contained in:
parent
c089737242
commit
1634aef27b
1 changed files with 1 additions and 0 deletions
1
rfkill.c
1
rfkill.c
|
@ -57,6 +57,7 @@ static void rfkill_event(void)
|
|||
printf("RFKILL event: idx %u type %u op %u soft %u hard %u\n",
|
||||
event.idx, event.type, event.op,
|
||||
event.soft, event.hard);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
close(fd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue