summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_subr.c
diff options
context:
space:
mode:
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