Sergey Matveychuk wrote:

+    if(ioctl(f, DIOCGSECTORSIZE, &secsize) != 0)
+       secsize = 512;
+
+    if (ioctl(f, DIOCGMEDIASIZE, &mediasize) != 0)
+       goto fail;

Oops! Sorry again. Here is must be fd instead of f in file descriptor.


--
Sem.


_______________________________________________ Bug-grub mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to