diff options
author | phk <phk@FreeBSD.org> | 2002-03-28 10:09:24 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-03-28 10:09:24 +0000 |
commit | e11a1be17eba2b9cbc07d42a9ebe9a746aa77ad2 (patch) | |
tree | fb0250a8b041e644c6efdcd2b455c023c53aac58 /sys/geom/geom_subr.c | |
parent | 2475368c6178ad8081b1dfc31db1adc2e254ea3e (diff) | |
download | FreeBSD-src-e11a1be17eba2b9cbc07d42a9ebe9a746aa77ad2.zip FreeBSD-src-e11a1be17eba2b9cbc07d42a9ebe9a746aa77ad2.tar.gz |
In the absense of any smarter way to do this, cast various printf
arguments to silence printf format warnings.
Diffstat (limited to 'sys/geom/geom_subr.c')
-rw-r--r-- | sys/geom/geom_subr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 2acfef8..42b3f62 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -466,7 +466,8 @@ g_haveattr(struct bio *bp, char *attribute, void *val, int len) if (strcmp(bp->bio_attribute, attribute)) return (0); if (bp->bio_length != len) { - printf("bio_length %lld len %d -> EFAULT\n", bp->bio_length, len); + printf("bio_length %lld len %d -> EFAULT\n", + (long long)bp->bio_length, len); error = EFAULT; } else { error = 0; |