CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2015/11/14 18:22:39
Modified files: sbin/fdisk : fdisk.c gpt.c gpt.h Log message: Move zapping of invalid GPT data into GPT_get_gpt() rather than returning a value to tell callers to zap it. Use consistant idiom to check for the presence of a GPT (check gh.gh_sig). When zapping GPT, always zap both the header and partition table just for paranoia's sake.