summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>2001-05-18 14:07:51 +0000
committerNik Clayton <nik@FreeBSD.org>2001-05-18 14:07:51 +0000
commit34da77aac7dc5751cfff7a9f0fb4a63cfa6c8d6a (patch)
tree5e8fe953b5d014c37f75591a9154eb8189c7854e
parent5b5df07ddc9e976907e24036bfd79603d39e3a79 (diff)
Notes
-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));