diff --git a/ethertype-dump.c b/ethertype-dump.c index c7966a4..07b0b0f 100644 --- a/ethertype-dump.c +++ b/ethertype-dump.c @@ -118,6 +118,10 @@ int main(int argc, char **argv) { err(1, "printf"); } } + + if (fflush(stdout) == -1) { + err(1, "fflush"); + } } return 0;