[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 05/17] slirp: Fix typo in net_slirp_hostfwd_remove
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 05/17] slirp: Fix typo in net_slirp_hostfwd_remove |
Date: |
Mon, 19 Dec 2011 11:12:26 +0000 |
From: Geoffrey Thomas <address@hidden>
Report an error when err is nonzero, not when it is zero.
Signed-off-by: Geoffrey Thomas <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
net/slirp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/slirp.c b/net/slirp.c
index 6646ecb..18e07ba 100644
--- a/net/slirp.c
+++ b/net/slirp.c
@@ -351,7 +351,7 @@ void net_slirp_hostfwd_remove(Monitor *mon, const QDict
*qdict)
host_addr, host_port);
monitor_printf(mon, "host forwarding rule for %s %s\n", src_str,
- err ? "removed" : "not found");
+ err ? "not found" : "removed");
return;
fail_syntax:
--
1.7.7.3
- [Qemu-devel] [PULL 00/17] Trivial patches for 7 to 19 December 2011, Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 02/17] Makefile.target: Remove unnecessary dependency rules, Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 03/17] stellaris: Calculate system clock period on reset, Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 06/17] Also create piix3 property when Xen is enabled, Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 04/17] kvm: Print something before calling abort() if KVM_RUN fails, Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 07/17] configure: Fix compiler warnings in config.log (always return a value from main), Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 05/17] slirp: Fix typo in net_slirp_hostfwd_remove,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 01/17] ide: drop argument to dma_buf_commit, Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 09/17] configure: Fix compiler warning in config.log (integer from pointer), Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 08/17] configure: Fix compiler warnings in config.log (old-style function definition), Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 12/17] configure: Fix compiler warning in config.log (macro redefined), Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 16/17] configure: Fix compiler warnings in config.log (statement without effect), Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 14/17] configure: Fix compiler warning in config.log (undefined NULL), Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 15/17] configure: Fix compiler warning in config.log (value was never used), Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 13/17] configure: Fix compiler warnings in config.log (uninitialized variable), Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 17/17] configure: Improve Xen autodetection for hosts without Xen, Stefan Hajnoczi, 2011/12/19
- [Qemu-devel] [PATCH 11/17] configure: Fix compiler warning in config.log (unused variable), Stefan Hajnoczi, 2011/12/19