diff options
author | marcel <marcel@FreeBSD.org> | 2005-09-01 01:15:22 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-09-01 01:15:22 +0000 |
commit | 9528d8e44bf53c69b905be49f2a2f75836341753 (patch) | |
tree | 0150608178d9c43bffa711f20d69a7e8d08c2897 /sbin | |
parent | 4b04d92787756a389e9e3085ebce15a3fdc3660e (diff) | |
download | FreeBSD-src-9528d8e44bf53c69b905be49f2a2f75836341753.zip FreeBSD-src-9528d8e44bf53c69b905be49f2a2f75836341753.tar.gz |
Add a comment before the statement that is responsible for the
removal of the GPT entry. There's a bit of code around that one
statement that it's good to have it stand out a bit more.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/gpt/remove.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/gpt/remove.c b/sbin/gpt/remove.c index 5a6f83f..98b1d4d 100644 --- a/sbin/gpt/remove.c +++ b/sbin/gpt/remove.c @@ -107,6 +107,8 @@ rem(int fd) if (!uuid_is_nil(&type, NULL) && !uuid_equal(&type, &uuid, NULL)) continue; + + /* Remove the entry by clearing the partition type. */ uuid_create_nil(&ent->ent_type, NULL); hdr->hdr_crc_table = htole32(crc32(tbl->map_data, |