diff options
author | Alon Levy <alevy@redhat.com> | 2011-10-08 14:45:53 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-10-31 13:24:33 +0200 |
commit | fe76a02693794c45f1b2a1e154860e7141d6f3e6 (patch) | |
tree | 5e21f9f284496c17295c2b0c2adf3cedbae98196 | |
parent | afb4bff2e64a0ad45fbc58cbba68c7b9ffba13a0 (diff) |
qxl: s/__FUNCTION__/__func__/, change logging levels
-rw-r--r-- | hw/qxl.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -515,7 +515,7 @@ static int interface_get_command(QXLInstance *sin, struct QXLCommandExt *ext) switch (qxl->mode) { case QXL_MODE_VGA: - dprint(qxl, 2, "%s: vga\n", __FUNCTION__); + dprint(qxl, 4, "%s: vga\n", __func__); ret = false; qemu_mutex_lock(&qxl->ssd.lock); if (qxl->ssd.update != NULL) { @@ -526,19 +526,19 @@ static int interface_get_command(QXLInstance *sin, struct QXLCommandExt *ext) } qemu_mutex_unlock(&qxl->ssd.lock); if (ret) { - dprint(qxl, 2, "%s %s\n", __FUNCTION__, qxl_mode_to_string(qxl->mode)); + dprint(qxl, 4, "%s %s\n", __func__, qxl_mode_to_string(qxl->mode)); qxl_log_command(qxl, "vga", ext); } return ret; case QXL_MODE_COMPAT: case QXL_MODE_NATIVE: case QXL_MODE_UNDEFINED: - dprint(qxl, 4, "%s: %s\n", __FUNCTION__, qxl_mode_to_string(qxl->mode)); + dprint(qxl, 5, "%s: %s\n", __func__, qxl_mode_to_string(qxl->mode)); ring = &qxl->ram->cmd_ring; if (SPICE_RING_IS_EMPTY(ring)) { return false; } - dprint(qxl, 2, "%s: %s\n", __FUNCTION__, qxl_mode_to_string(qxl->mode)); + dprint(qxl, 4, "%s: %s\n", __func__, qxl_mode_to_string(qxl->mode)); SPICE_RING_CONS_ITEM(ring, cmd); ext->cmd = *cmd; ext->group_id = MEMSLOT_GROUP_GUEST; |