qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] block/vvfat.c: remove debugging code to reinit stderr if NULL
@ 2014-08-18 11:41 Michael Tokarev
  2014-08-18 11:45 ` Peter Maydell
  2014-08-19 11:58 ` Kevin Wolf
  0 siblings, 2 replies; 6+ 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] 6+ messages in thread

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

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).