qemu-trivial.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] net/slirp: fix the error message when the prefix len is invalid
@ 2019-05-09 13:37 Stefano Garzarella
  2019-05-09 13:54 ` [Qemu-trivial] [Qemu-devel] " Marc-André Lureau
  2019-05-09 14:54 ` Markus Armbruster
  0 siblings, 2 replies; 6+ messages in thread
From: Stefano Garzarella @ 2019-05-09 13:37 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jan Kiszka, qemu-trivial, Samuel Thibault, Jason Wang

Add a missing parentheses at the end of the error message,
when we have an invalid prefix len.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
---
 net/slirp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/slirp.c b/net/slirp.c
index 95934fb36d..0f4ae0abc0 100644
--- a/net/slirp.c
+++ b/net/slirp.c
@@ -498,7 +498,8 @@ static int net_slirp_init(NetClientState *peer, const char *model,
     }
     if (vprefix6_len < 0 || vprefix6_len > 126) {
         error_setg(errp,
-                   "Invalid prefix provided (prefix len must be in range 0-126");
+                   "Invalid prefix provided "
+                   "(prefix len must be in range 0-126)");
         return -1;
     }
 
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-10  7:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-09 13:37 [Qemu-trivial] [PATCH] net/slirp: fix the error message when the prefix len is invalid Stefano Garzarella
2019-05-09 13:54 ` [Qemu-trivial] [Qemu-devel] " Marc-André Lureau
2019-05-09 14:54 ` Markus Armbruster
2019-05-09 15:16   ` Stefano Garzarella
2019-05-10  5:56     ` Markus Armbruster
2019-05-10  7:58       ` Stefano Garzarella

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).