Don't call warn(3).

This commit is contained in:
phk 2002-10-29 14:45:43 +00:00
parent e0746634a5
commit 885738b312

View File

@ -87,12 +87,8 @@ Write_Disk(const struct disk *d1)
fd = open(device,O_RDWR);
if (fd < 0) {
#ifdef DEBUG
warn("open(%s) failed", device);
#endif
if (fd < 0)
return 1;
}
memset(s,0,sizeof s);
mbr = read_block(fd, 0, d1->sector_size);