[Bug 221048] minor() truncates device number to 32 bits, whereas dev_t type was extended to 64 bits

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 28 12:42:27 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221048

--- Comment #1 from Konstantin Belousov <kib at FreeBSD.org> ---
Created attachment 184797
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184797&action=edit
Change major()/minor() to work with 64bit dev_t.

Since traditional types for the macros values are int, I removed the cookie
trick and just split the dev_t at the word boundary.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list