CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2016/03/09 05:55:18
Modified files: sbin/fdisk : disk.c sbin/pdisk : pdisk.c Log message: Accept only character special devices rather than generating a core dump on the attempt to get a disklabel from a regular file. Regular files have not been acceptable as the 'disk' for some time, and pledging changed the consequences from a somewhat obscure error message to an abort(). Issue discovered by espie@. ok natano@