> and I'm calling it here:
You should only call perror if ioctl returned -1.
Try:
len = ioctl(cd, 0);
if (len == -1)
{
perror("ioctl");
}
_______________________________________________
freebsd-drivers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org"