Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2001 22:50:13 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        leclercn@videotron.ca
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: dev_t size mismatch kernel / userland
Message-ID:  <15036.6517.17480.370998@grasshopper.cs.duke.edu>
In-Reply-To: <3ABC0CFE.4010707@videotron.ca>
References:  <3ABC0CFE.4010707@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

tcn writes:
 > Hi,
 > 
 >    I found a problem with dev_t.  The kernel uses a dev_t as a pointer 
 > and userland uses it as an integer.  What should I do: change userland 
 > to 64 bits and rebuild world?

Sort of.  Try changing it to a uintptr_t (64-bits on alpha, 32 on
i386).

Before rebuilding world, I'd try just vinum..

Drew

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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