Date: Sun, 26 May 2002 20:11:34 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 11949 for review Message-ID: <200205270311.g4R3BYH02497@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11949 Change 11949 by marcel@marcel_nfs on 2002/05/26 20:10:41 o Include gpt.h from /usr/include/sys. o Nuke private copy of gpt.h. Affected files ... ... //depot/projects/ia64/sbin/gpt/gpt.c#6 edit ... //depot/projects/ia64/sbin/gpt/gpt.h#3 delete Differences ... ==== //depot/projects/ia64/sbin/gpt/gpt.c#6 (text+ko) ==== @@ -57,6 +57,7 @@ #include <sys/disk.h> #include <sys/stat.h> #include <sys/uuid.h> +#include <sys/gpt.h> #include <err.h> #include <errno.h> @@ -66,7 +67,6 @@ #include <string.h> #include <unistd.h> -#include "gpt.h" #include "map.h" struct mbr { @@ -507,8 +507,8 @@ for (i = 0; i < 4; i++) { switch (mbr->mbr_part[i].part_typ) { case 165: { /* FreeBSD */ - uuid_t freebsd_slice = GPT_ENT_TYPE_FREEBSD_SLICE; - ent->ent_type = freebsd_slice; + uuid_t freebsd = GPT_ENT_TYPE_FREEBSD; + ent->ent_type = freebsd; unicode16(ent->ent_name, L"FreeBSD disklabel partition", 36); break; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205270311.g4R3BYH02497>