CVSROOT:        /cvs
Module name:    src
Changes by:     chel...@cvs.openbsd.org 2018/03/05 09:53:39

Modified files:
        usr.bin/cmp    : cmp.c extern.h misc.c special.c 

Log message:
Add fatal() and fatalx() and put them to use.

... but don't use them for pledge errors or usage errors.

They are convenience wrappers that check if sflag is set before
logging an error.  They always exit with status 2.

We were not honoring sflag in special.c at all.  Now we do.

ok tb@

Reply via email to