On Fri, 7 May 2010, Dmitry Krivenok wrote:


It looks like dev2unit is exactly what I need to fix compilation issue.
I changed the code of all modules as follows:

- int dev_num = minor(dev);
+ int dev_num = minor(dev2unit(dev));

and now it compiles and works well.

Is this the proper way of solving the problem?

It should be -- see the commit message for svn revision 187830 on 2009-01-28 17:57:16Z by ed

-Ben Kaduk
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to