Explicitly flush output at end of each zevent
authorCraig Loomis <cloomis@astro.princeton.edu>
Fri, 5 Jul 2013 14:51:36 +0000 (10:51 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 9 Jul 2013 00:01:16 +0000 (17:01 -0700)
commit50fe577d1f3bd06e15fe2006459debd9fdffd04a
treeb19377621a2069ba8dce5c2d4abced1c766f1b44
parenta1d9543a39942be56879ca9338078afc77c25cea
Explicitly flush output at end of each zevent

For "zpool events -f" flush stdout to ensure the last zevent
is always printed immediately.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1568
cmd/zpool/zpool_main.c