diff options
author | Karel Zak | 2013-03-11 15:51:22 +0100 |
---|---|---|
committer | Karel Zak | 2013-03-11 15:56:05 +0100 |
commit | b4fb2a61102a863be90353976c38d8096a42dc26 (patch) | |
tree | f34ee81275a25d24123658d5453c382f33725935 /libfdisk/src/context.c | |
parent | tests: fix typo in fdisk test (diff) | |
download | kernel-qcow2-util-linux-b4fb2a61102a863be90353976c38d8096a42dc26.tar.gz kernel-qcow2-util-linux-b4fb2a61102a863be90353976c38d8096a42dc26.tar.xz kernel-qcow2-util-linux-b4fb2a61102a863be90353976c38d8096a42dc26.zip |
fdisk: (bsd) support non-nested version too
note that btrydev() should be unnecessary, regular list_table()
should be enough for all types.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/context.c')
-rw-r--r-- | libfdisk/src/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c index 139932620..814d84c4f 100644 --- a/libfdisk/src/context.c +++ b/libfdisk/src/context.c @@ -21,6 +21,7 @@ struct fdisk_context *fdisk_new_context(void) cxt->labels[ cxt->nlabels++ ] = fdisk_new_gpt_label(cxt); cxt->labels[ cxt->nlabels++ ] = fdisk_new_dos_label(cxt); cxt->labels[ cxt->nlabels++ ] = fdisk_new_aix_label(cxt); + cxt->labels[ cxt->nlabels++ ] = fdisk_new_bsd_label(cxt); cxt->labels[ cxt->nlabels++ ] = fdisk_new_mac_label(cxt); cxt->labels[ cxt->nlabels++ ] = fdisk_new_sgi_label(cxt); cxt->labels[ cxt->nlabels++ ] = fdisk_new_sun_label(cxt); |