From owner-cvs-sbin Mon Jul 20 04:34:27 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA24769 for cvs-sbin-outgoing; Mon, 20 Jul 1998 04:34:27 -0700 (PDT) (envelope-from owner-cvs-sbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA24738; Mon, 20 Jul 1998 04:34:23 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id EAA05791; Mon, 20 Jul 1998 04:34:08 -0700 (PDT) Date: Mon, 20 Jul 1998 04:34:08 -0700 (PDT) Message-Id: <199807201134.EAA05791@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/disklabel disklabel.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/07/20 04:34:07 PDT Modified files: sbin/disklabel disklabel.c Log: Clear d_boot0 and d_boot1 in the virgin label. These are overlaid by d_packname in in-core labels, so they are garbage if d_packname is initialized in the dummy label for the whole disk. dsopen() will soon initialize d_packname to "fictitious" if it is not already initialized. Fixed nearby error handling. Rev.1.7 apparently confused Perror() with perror(). Revision Changes Path 1.16 +7 -7 src/sbin/disklabel/disklabel.c