Commits

pol...@gnu.org  committed 7db8181

newline fixes to aid compatibility with util-linux fdisk (Robert Millan).

  • Participants
  • Parent commits 65f58cd

Comments (0)

Files changed (1)

 	cyl_size[strlen (cyl_size) - 1] = '\0';
 
 	PedSector total_drive_size = heads * sectors * cylinders * sect_size;
-	printf (_("Disk %s: %lld %s, %lld bytes\n"), (*disk)->dev->path, 
+	printf (_("\nDisk %s: %lld %s, %lld bytes\n"), (*disk)->dev->path, 
 		 total_drive_size >= 1000000000 ? 
 		 total_drive_size  / 1000000000 : 
 		 total_drive_size  / 1000000, 
 			check_partition_consistency(part);
 	}
 	ped_free (cyl_size);
-        printf ("\n");
         
 	/*if (fdisk_list_table == 1)
 	  do_quit (disk);*/