Skip to contentSkip to conversation

VMDK: Remove debug message

PATCH Applied Hervé Poussineau 2 participants 2 messages Aug 16, 2008 – Aug 17, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 VMDK: Remove debug message

Hi,

vmdk block backend contains a debug message printed to stderr each time it opens a disk.
Attached patch removes it.

Hervé

block-vmdk.c +0 -1
Index: block-vmdk.c
===================================================================
@@ -376,7 +376,6 @@
     if (parent_open)
         // Parent must be opened as RO.
         flags = BDRV_O_RDONLY;
-    fprintf(stderr, "(VMDK) image open: flags=0x%x filename=%s\n", flags, bs->filename);
 
     ret = bdrv_file_open(&s->hd, filename, flags);
     if (ret < 0)
#1 lore raw
Quoted 5 lines · Hervé Poussineau

Hi,

vmdk block backend contains a debug message printed to stderr each time it opens a disk.
Attached patch removes it.

Applied, thanks.

Quoted 14 lines

Hervé

Index: block-vmdk.c
===================================================================

block-vmdk.c +0 -1
@@ -376,7 +376,6 @@
     if (parent_open)
         // Parent must be opened as RO.
         flags = BDRV_O_RDONLY;
-    fprintf(stderr, "(VMDK) image open: flags=0x%x filename=%s\n", flags, bs->filename);
 
     ret = bdrv_file_open(&s->hd, filename, flags);
     if (ret < 0)
Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net