All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] block/vvfat.c: remove debugging code to reinit stderr if NULL
@ 2014-08-18 11:41 ` Michael Tokarev
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Tokarev @ 2014-08-18 11:41 UTC (permalink / raw)
  To: qemu-devel, qemu-trivial; +Cc: Li Liu, Michael Tokarev, zhanghailiang

Just log to stderr unconditionally, like other similar code does.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 block/vvfat.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/block/vvfat.c b/block/vvfat.c
index 70176b1..ea37023 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -1082,11 +1082,6 @@ static int vvfat_open(BlockDriverState *bs, QDict *options, int flags,
     vvv = s;
 #endif
 
-DLOG(if (stderr == NULL) {
-    stderr = fopen("vvfat.log", "a");
-    setbuf(stderr, NULL);
-})
-
     opts = qemu_opts_create(&runtime_opts, NULL, 0, &error_abort);
     qemu_opts_absorb_qdict(opts, options, &local_err);
     if (local_err) {
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-08-19 12:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18 11:41 [Qemu-trivial] [PATCH] block/vvfat.c: remove debugging code to reinit stderr if NULL Michael Tokarev
2014-08-18 11:41 ` [Qemu-devel] " Michael Tokarev
2014-08-18 11:45 ` [Qemu-trivial] " Peter Maydell
2014-08-18 11:45   ` Peter Maydell
2014-08-19 11:58 ` [Qemu-trivial] " Kevin Wolf
2014-08-19 11:58   ` Kevin Wolf
2014-08-19 12:02   ` [Qemu-trivial] " Peter Maydell
2014-08-19 12:02     ` Peter Maydell
2014-08-19 12:06   ` [Qemu-trivial] " Eric Blake
2014-08-19 12:06     ` Eric Blake
2014-08-19 12:25     ` [Qemu-trivial] " Kevin Wolf
2014-08-19 12:25       ` Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.