Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2017 12:42:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221048] minor() truncates device number to 32 bits, whereas dev_t type was extended to 64 bits
Message-ID:  <bug-221048-8-AcgMoz8Cu3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221048-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221048-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221048

--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
Created attachment 184797
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D184797&action=
=3Dedit
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221048-8-AcgMoz8Cu3>