projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b011fb
)
slirp: Fix typo in net_slirp_hostfwd_remove
author
Geoffrey Thomas
<geofft@ldpreload.com>
Sat, 17 Dec 2011 09:23:59 +0000
(
04:23
-0500)
committer
Stefan Hajnoczi
<stefanha@linux.vnet.ibm.com>
Mon, 19 Dec 2011 10:42:44 +0000
(10:42 +0000)
Report an error when err is nonzero, not when it is zero.
Signed-off-by: Geoffrey Thomas <geofft@ldpreload.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
net/slirp.c
patch
|
blob
|
history
diff --git
a/net/slirp.c
b/net/slirp.c
index 6646ecb1c800d31b2e80cdb6f5855b254cfd1006..18e07ba609c3be93757d96364583ee65a9180f33 100644
(file)
--- 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 foun
d");
+ err ? "
not found" : "remove
d");
return;
fail_syntax: