From: Thomas Huth Date: Wed, 18 Jul 2018 15:08:29 +0000 (+0200) Subject: block/vvfat: Disable debug message by default X-Git-Tag: v3.0.0-rc2~11^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e31b4e17064d22e533071aaa57d3f01499ef910;p=thirdparty%2Fqemu.git 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 Reviewed-by: John Snow Signed-off-by: Kevin Wolf --- diff --git a/block/vvfat.c b/block/vvfat.c index c7d2ed2d96c..fc41841a5c3 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;