[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PULL 7/7] block/vvfat: Disable debug message by default
From: |
Kevin Wolf |
Subject: |
[Qemu-block] [PULL 7/7] block/vvfat: Disable debug message by default |
Date: |
Mon, 23 Jul 2018 18:45:30 +0200 |
From: Thomas Huth <address@hidden>
It's annoying to see this debug message every time you use vvfat.
Disable it with the DLOG() macro by default, as it is done with the
other debug messages in this file.
Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: John Snow <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
block/vvfat.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index c7d2ed2d96..fc41841a5c 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -1245,8 +1245,8 @@ static int vvfat_open(BlockDriverState *bs, QDict
*options, int flags,
s->fat2 = NULL;
s->downcase_short_names = 1;
- fprintf(stderr, "vvfat %s chs %d,%d,%d\n",
- dirname, cyls, heads, secs);
+ DLOG(fprintf(stderr, "vvfat %s chs %d,%d,%d\n",
+ dirname, cyls, heads, secs));
s->sector_count = cyls * heads * secs - s->offset_to_bootsector;
--
2.13.6
- [Qemu-block] [PULL 0/7] Block layer patches, Kevin Wolf, 2018/07/23
- [Qemu-block] [PULL 2/7] block: Fix typos in comments (found by codespell), Kevin Wolf, 2018/07/23
- [Qemu-block] [PULL 4/7] iotests: remove LUKS support from test 226, Kevin Wolf, 2018/07/23
- [Qemu-block] [PULL 3/7] qemu-img: avoid overflow of min_sparse parameter, Kevin Wolf, 2018/07/23
- [Qemu-block] [PULL 6/7] iotests: Disallow compat=0.10 in 223, Kevin Wolf, 2018/07/23
- [Qemu-block] [PULL 7/7] block/vvfat: Disable debug message by default,
Kevin Wolf <=
- [Qemu-block] [PULL 5/7] iotest: Fix filtering order in 226, Kevin Wolf, 2018/07/23
- [Qemu-block] [PULL 1/7] qemu-iotests: Use host_device instead of file in 149, Kevin Wolf, 2018/07/23
- Re: [Qemu-block] [PULL 0/7] Block layer patches, Peter Maydell, 2018/07/23