diff options
author | bde <bde@FreeBSD.org> | 1998-06-28 19:36:49 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-28 19:36:49 +0000 |
commit | c3dde99296d86e98c765c33dd644f8ce9ab2d75f (patch) | |
tree | 36a0bb88c732ce91f42158515e35dea7bd12e0d3 /sbin/modload | |
parent | 4af99ce07c5d58e878672e174d267324e1983ba1 (diff) | |
download | FreeBSD-src-c3dde99296d86e98c765c33dd644f8ce9ab2d75f.zip FreeBSD-src-c3dde99296d86e98c765c33dd644f8ce9ab2d75f.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'sbin/modload')
-rw-r--r-- | sbin/modload/modload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c index a6ec09d..90251c7 100644 --- a/sbin/modload/modload.c +++ b/sbin/modload/modload.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: modload.c,v 1.19 1997/06/29 20:38:38 bde Exp $ + * $Id: modload.c,v 1.20 1997/08/21 22:33:59 jlemon Exp $ */ #include <stdio.h> @@ -389,7 +389,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, "%lu", sbuf.offset); /* XXX the modload docs say that drivers can install bdevsw & cdevsw, but the interface only supports one at a time. sigh. */ |