1. Leslie P. Polzer
  2. fdisk

Commits

Christian  committed 0caac51

fix align option check

  • Participants
  • Parent commits 22e4df4
  • Branches default

Comments (0)

Files changed (1)

File src/fdisk.c

View file
   
   free(options_table);
  
-	if(compat_mode && align_type != ALIGNMENT_CYLINDER)
+	if(compat_mode && current_partition_align_type != ALIGNMENT_OPTIMAL)
 		{
 			fprintf(stderr, _("Warning: alignment option is ignored in "
 												"util-linux compatibile mode. Switch to cylinder alignment.\n"));