summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_subr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-03-28 10:09:24 +0000
committerphk <phk@FreeBSD.org>2002-03-28 10:09:24 +0000
commite11a1be17eba2b9cbc07d42a9ebe9a746aa77ad2 (patch)
treefb0250a8b041e644c6efdcd2b455c023c53aac58 /sys/geom/geom_subr.c
parent2475368c6178ad8081b1dfc31db1adc2e254ea3e (diff)
downloadFreeBSD-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.c3
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;
OpenPOWER on IntegriCloud