Added sync() after logfile i/o to reduce risk of losing log entries after e.g. crashes.
Added sync() after logfile i/o to reduce risk of losing log entries after
e.g. crashes.


veritas-shine/minix3-rpi,danielbarter/minix_book,veritas-shine/minix3-rpi,veritas-shine/minix3-rpi,danielbarter/minix_book,veritas-shine/minix3-rpi,danielbarter/minix_book,danielbarter/minix_book,veritas-shine/minix3-rpi,veritas-shine/minix3-rpi,danielbarter/minix_book,veritas-shine/minix3-rpi,veritas-shine/minix3-rpi,danielbarter/minix_book