qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Fix crash at startup
Date: Mon, 19 Jan 2009 07:58:53 +0100	[thread overview]
Message-ID: <1232348333.23907.5.camel@cocoduo.atr> (raw)

Fix crash at startup

Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
---
 exec.c |   3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/exec.c b/exec.c
index faa6333..7c9d7dc 100644
--- a/exec.c
+++ b/exec.c
@@ -2066,2 +2066,2 @@ void page_dump(FILE *f)
     int i, j, prot, prot1;
     PageDesc *p;

+    if (!f)
+        return;
+
     fprintf(f, "%-8s %-8s %-8s %s\n",
             "start", "end", "size", "prot");
     start = -1;
--
1.5.6.5

             reply	other threads:[~2009-01-19  6:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19  6:58 Lionel Landwerlin [this message]
2009-01-19  7:16 ` [Qemu-devel] [PATCH] Fix crash at startup Laurent Desnogues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1232348333.23907.5.camel@cocoduo.atr \
    --to=lionel.landwerlin@openwide.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).