summaryrefslogtreecommitdiffstats
path: root/fdisks/fdiskbsdlabel.c
diff options
context:
space:
mode:
authorKarel Zak2013-07-10 14:59:49 +0200
committerKarel Zak2013-09-16 16:47:06 +0200
commit22ddf5470510b3d09177ed25c18ccaf15081324f (patch)
tree3d512f2c0161599df4d36c02c63d3269787e22f2 /fdisks/fdiskbsdlabel.c
parentfdisk: (bsd) implement regular bsd menu callback (diff)
downloadkernel-qcow2-util-linux-22ddf5470510b3d09177ed25c18ccaf15081324f.tar.gz
kernel-qcow2-util-linux-22ddf5470510b3d09177ed25c18ccaf15081324f.tar.xz
kernel-qcow2-util-linux-22ddf5470510b3d09177ed25c18ccaf15081324f.zip
fdisk: (bsd) *OSF --> *BSD
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdiskbsdlabel.c')
-rw-r--r--fdisks/fdiskbsdlabel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fdisks/fdiskbsdlabel.c b/fdisks/fdiskbsdlabel.c
index 164732273..28b683a3e 100644
--- a/fdisks/fdiskbsdlabel.c
+++ b/fdisks/fdiskbsdlabel.c
@@ -38,7 +38,7 @@
19990319 - Arnaldo Carvalho de Melo <acme@conectiva.com.br> - i18n/nls
20000101 - David Huggins-Daines <dhuggins@linuxcare.com> - Better
- support for OSF/1 disklabels on Alpha.
+ support for BSD/1 disklabels on Alpha.
Also fixed unaligned accesses in alpha_bootblock_checksum()
*/
@@ -147,7 +147,7 @@ static inline struct fdisk_bsd_label *self_label(struct fdisk_context *cxt)
{
assert(cxt);
assert(cxt->label);
- assert(fdisk_is_disklabel(cxt, OSF));
+ assert(fdisk_is_disklabel(cxt, BSD));
return (struct fdisk_bsd_label *) cxt->label;
}
@@ -156,7 +156,7 @@ static inline struct bsd_disklabel *self_disklabel(struct fdisk_context *cxt)
{
assert(cxt);
assert(cxt->label);
- assert(fdisk_is_disklabel(cxt, OSF));
+ assert(fdisk_is_disklabel(cxt, BSD));
return &((struct fdisk_bsd_label *) cxt->label)->bsd;
}
@@ -1015,7 +1015,7 @@ struct fdisk_label *fdisk_new_bsd_label(struct fdisk_context *cxt)
/* initialize generic part of the driver */
lb = (struct fdisk_label *) bsd;
lb->name = "bsd";
- lb->id = FDISK_DISKLABEL_OSF;
+ lb->id = FDISK_DISKLABEL_BSD;
lb->op = &bsd_operations;
lb->parttypes = xbsd_fstypes;
lb->nparttypes = ARRAY_SIZE(xbsd_fstypes);