Jokers.

---
 libparted/fs/linux_swap/linux_swap.c |    8 ++++++++
 1 file changed, 8 insertions(+)

Index: parted-1.8.7/libparted/fs/linux_swap/linux_swap.c
===================================================================
--- parted-1.8.7.orig/libparted/fs/linux_swap/linux_swap.c
+++ parted-1.8.7/libparted/fs/linux_swap/linux_swap.c
@@ -719,6 +719,13 @@ static PedFileSystemType _swap_v2_type =
        block_sizes: LINUXSWAP_BLOCK_SIZES
 };
 
+static PedFileSystemType _swap_default_type = {
+       next:   NULL,
+       ops:    &_swap_v2_ops,
+       name:   "linux-swap",
+       block_sizes: LINUXSWAP_BLOCK_SIZES
+};
+
 static PedFileSystemType _swap_swsusp_type = {
         next:   NULL,
        ops:    &_swap_swsusp_ops,
@@ -729,6 +736,7 @@ static PedFileSystemType _swap_swsusp_ty
 void
 ped_file_system_linux_swap_init ()
 {
+       ped_file_system_type_register (&_swap_default_type);
        ped_file_system_type_register (&_swap_v1_type);
        ped_file_system_type_register (&_swap_v2_type);
        ped_file_system_type_register (&_swap_swsusp_type);

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to