Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
and outputs the associated textual message in the same way that perror(3) would if called within a program.