aboutsummaryrefslogtreecommitdiff
path: root/block/vvfat.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2018-07-18 17:08:29 +0200
committerKevin Wolf <kwolf@redhat.com>2018-07-23 16:50:43 +0200
commit3e31b4e17064d22e533071aaa57d3f01499ef910 (patch)
tree8a6887aff357902d232500224e295c25116e4522 /block/vvfat.c
parent092b9c408fb22010747f17e2fb19521cfafd45d6 (diff)
downloadqemu-3e31b4e17064d22e533071aaa57d3f01499ef910.zip
qemu-3e31b4e17064d22e533071aaa57d3f01499ef910.tar.gz
qemu-3e31b4e17064d22e533071aaa57d3f01499ef910.tar.bz2
block/vvfat: Disable debug message by default
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 <thuth@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/vvfat.c')
-rw-r--r--block/vvfat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/vvfat.c b/block/vvfat.c
index c7d2ed2..fc41841 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;