summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/scrshot/scrshot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/scrshot/scrshot.c b/usr.bin/scrshot/scrshot.c
index 2e285f40ade9..13e18aac6840 100644
--- a/usr.bin/scrshot/scrshot.c
+++ b/usr.bin/scrshot/scrshot.c
@@ -72,6 +72,7 @@ main(int argc, char *argv[])
err(1, "ioctl(CONS_SCRSHOT)");
printf("SCRSHOT_%c%c%c%c", VERSION, 2, shot.xsize, shot.ysize);
+ fflush(stdout);
(void)write(STDOUT_FILENO, shot.buf,
shot.xsize * shot.ysize * sizeof(u_int16_t));