Anonymous avatar Anonymous committed 7db8181

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

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, 
 	ped_free (cyl_size);
-        printf ("\n");
 	/*if (fdisk_list_table == 1)
 	  do_quit (disk);*/
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.