summaryrefslogtreecommitdiff
path: root/sys/kern/kern_module.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-07-14 05:09:48 +0000
committerBruce Evans <bde@FreeBSD.org>1998-07-14 05:09:48 +0000
commit37889b394a71634c9c0f5a97df44e26c3880e857 (patch)
tree6acab5eb717ee483f930cb688dc8a6b60b85a276 /sys/kern/kern_module.c
parent7841095906db99fa05d5923ee83216d4f92c038a (diff)
Notes
Diffstat (limited to 'sys/kern/kern_module.c')
-rw-r--r--sys/kern/kern_module.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c
index 0a752bbf1442..948fa79f97cd 100644
--- a/sys/kern/kern_module.c
+++ b/sys/kern/kern_module.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_module.c,v 1.6 1997/11/07 08:52:56 phk Exp $
+ * $Id: kern_module.c,v 1.7 1998/07/11 07:45:40 bde Exp $
*/
#include <sys/param.h>
@@ -81,10 +81,9 @@ module_register_init(void *arg)
moduledata_t* data = (moduledata_t*) arg;
int error;
-#define fptrint_t unsigned /* XXX */
if (error = module_register(data->name, data->evhand, data->priv))
printf("module_register_init: module_register(%s, %lx, %p) returned %d",
- data->name, (u_long)(fptrint_t)data->evhand, data->priv, error);
+ data->name, (u_long)(uintfptr_t)data->evhand, data->priv, error);
}
int