1. Leslie P. Polzer
  2. fdisk

Commits

pol...@gnu.org  committed 65f58cd

check for return value by Alexey Gladkov.

  • Participants
  • Parent commits ecf3d73
  • Branches default

Comments (0)

Files changed (1)

File src/fdisk.c

View file
 	                        break;
      
                         PedDisk *disk = ped_disk_new(dev);
+			if (!disk) // Not fatal error
+				continue;
 
 			if (fdisk_print_raw)
 				do_raw (&disk);