diff options
author | Warner Losh <imp@FreeBSD.org> | 2016-04-14 05:10:41 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2016-04-14 05:10:41 +0000 |
commit | 9a8fa125c1254266563fb16e3c94e4c677906121 (patch) | |
tree | 771261487fac0e42311b4cbdb99207d4ce303902 /sys/geom/geom_io.c | |
parent | bd3bce41db1e29fb96124a57e89d02e56c4c242b (diff) | |
download | src-9a8fa125c1254266563fb16e3c94e4c677906121.tar.gz src-9a8fa125c1254266563fb16e3c94e4c677906121.zip |
Bump bio_cmd and bio_*flags from 8 bits to 16.
Differential Revision: https://reviews.freebsd.org/D5784
Notes
Notes:
svn path=/head/; revision=297955
Diffstat (limited to 'sys/geom/geom_io.c')
-rw-r--r-- | sys/geom/geom_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c index 61f70c1c27fd..8270274cac33 100644 --- a/sys/geom/geom_io.c +++ b/sys/geom/geom_io.c @@ -504,11 +504,11 @@ g_io_request(struct bio *bp, struct g_consumer *cp) cmd = bp->bio_cmd; if (cmd == BIO_READ || cmd == BIO_WRITE || cmd == BIO_GETATTR) { KASSERT(bp->bio_data != NULL, - ("NULL bp->data in g_io_request(cmd=%hhu)", bp->bio_cmd)); + ("NULL bp->data in g_io_request(cmd=%hu)", bp->bio_cmd)); } if (cmd == BIO_DELETE || cmd == BIO_FLUSH) { KASSERT(bp->bio_data == NULL, - ("non-NULL bp->data in g_io_request(cmd=%hhu)", + ("non-NULL bp->data in g_io_request(cmd=%hu)", bp->bio_cmd)); } if (cmd == BIO_READ || cmd == BIO_WRITE || cmd == BIO_DELETE) { |