Block drivers: make IOCTL request unsigned long

The block driver protocol and libblockdriver's bdr_ioctl hook are
changed, as well as the users of this hook. Other parts of the system
are expected to change accordingly eventually, since the ioctl(2)
prototype has been aligned with NetBSD's.

Change-Id: Ide46245b22cfa89ed267a38088fb0ab7696eba92
This commit is contained in:
David van Moolenbroek
2013-09-10 23:57:32 +02:00
committed by Lionel Sambuc
parent 95624ae072
commit 6700874deb
14 changed files with 46 additions and 46 deletions

View File

@@ -267,7 +267,7 @@ static int do_ioctl(message *m)
break;
default:
printf("Filter: unknown ioctl request: %d!\n",
printf("Filter: unknown ioctl request: %ld!\n",
m->BDEV_REQUEST);
return ENOTTY;
}