This patch makes advdef utility working. FreeBSD is only OS which returns error when fflush() is used on readonly files. See kern/65402.
State Changed From-To: open->closed Committed, thanks!