diff --git a/bochs/gui/gtk_enh_dbg_osdep.cc b/bochs/gui/gtk_enh_dbg_osdep.cc index baed284d1..4d1076e2a 100755 --- a/bochs/gui/gtk_enh_dbg_osdep.cc +++ b/bochs/gui/gtk_enh_dbg_osdep.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: gtk_enh_dbg_osdep.cc,v 1.12 2010-02-28 14:52:17 sshwarts Exp $ +// $Id: gtk_enh_dbg_osdep.cc,v 1.13 2010-03-02 07:07:57 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // BOCHS ENHANCED DEBUGGER Ver 1.2 @@ -985,7 +985,7 @@ void DispMessage(const char *msg, const char *title) GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, - msg); + "%s", msg); gtk_window_set_title(GTK_WINDOW(dialog), title); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); diff --git a/bochs/iodev/floppy.cc b/bochs/iodev/floppy.cc index ec8ade5a3..809d3bc8f 100644 --- a/bochs/iodev/floppy.cc +++ b/bochs/iodev/floppy.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: floppy.cc,v 1.122 2009-12-04 19:50:27 sshwarts Exp $ +// $Id: floppy.cc,v 1.123 2010-03-02 07:07:57 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2002-2009 The Bochs Project @@ -135,7 +135,7 @@ void bx_floppy_ctrl_c::init(void) { Bit8u i, devtype, cmos_value; - BX_DEBUG(("Init $Id: floppy.cc,v 1.122 2009-12-04 19:50:27 sshwarts Exp $")); + BX_DEBUG(("Init $Id: floppy.cc,v 1.123 2010-03-02 07:07:57 sshwarts Exp $")); DEV_dma_register_8bit_channel(2, dma_read, dma_write, "Floppy Drive"); DEV_register_irq(6, "Floppy Drive"); for (unsigned addr=0x03F2; addr<=0x03F7; addr++) { @@ -675,7 +675,7 @@ void bx_floppy_ctrl_c::floppy_command(void) for (i=0; i