bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreeBSD 5.x fixes


From: Sergey Matveychuk
Subject: Re: FreeBSD 5.x fixes
Date: Sun, 25 Jan 2004 01:05:37 +0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]