summaryrefslogtreecommitdiff
path: root/sbin/modload/modload.c
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1997-09-17 00:57:46 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1997-09-17 00:57:46 +0000
commit80ce7335db21e081f57b902fcb3de25b7d180c48 (patch)
tree999e936783eb3c26d5a84c8c7d937e7dd94e5dd7 /sbin/modload/modload.c
parent0e67689f899cbcf8c6f583672cd9d89f9489fc52 (diff)
Wall cleanup.
Diffstat (limited to 'sbin/modload/modload.c')
-rw-r--r--sbin/modload/modload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c
index d455101deeb..4dd9ce77d29 100644
--- a/sbin/modload/modload.c
+++ b/sbin/modload/modload.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: modload.c,v 1.17 1997/09/17 00:56:42 weingart Exp $ */
+/* $OpenBSD: modload.c,v 1.18 1997/09/17 00:57:45 weingart Exp $ */
/* $NetBSD: modload.c,v 1.13 1995/05/28 05:21:58 jtc Exp $ */
/*
@@ -513,7 +513,7 @@ main(argc, argv)
err(15, "error fetching module stats for post-install");
sprintf(id, "%d", sbuf.id);
sprintf(type, "0x%x", sbuf.type);
- sprintf(offset, "%d", sbuf.offset);
+ sprintf(offset, "%ld", sbuf.offset);
/*
* XXX
* The modload docs say that drivers can install bdevsw &