struct name error?
Hi,
in libfdisk/fdisk.c line 744 and 745 we have:
    /* If swap_ent is not a partition on the local disks, then ignore it */
    p = fdisk_find_partition_by_name(swap_ent.name);
    free(swap_ent.name);
swap_ent is from:
struct swpmntent *swap_ent;
But i can't find 'swpmntent' for linux-2.2.x. I think it this struct:
struct swpent
  {
    char *name;
    int type; /* 0 = partition, 1 = file */
    int size;
    int used;
    int prio;
  };
Enrique?
MfG,
   Hartmut
  
    
-- 
 Dipl.-Ing. Hartmut Koptein                            EMail:
 Friedrich-van-Senden-Str. 7                           koptein@et-inf.fho-emden.de
 26603 Aurich   
 Tel.: +49-4941-10390                                  koptein@debian.org
Reply to: