Patch by Samuel Rodriguez Perez:

Fixed building Haiku images on FreeBSD, which was broken since the
introduction of the device support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24107 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-02-25 01:01:41 +00:00
parent f69d34a72c
commit da51719239

View File

@ -212,6 +212,10 @@ fssh_ioctl(int fd, unsigned long op, ...)
struct stat status;
if (fstat(fd, &status) == 0) {
// Do nothing for a regular file
if (S_ISREG(status.st_mode))
break;
struct disklabel disklabel;
off_t mediaSize;