diff mbox series

net/slirp.c: Fix spelling error in error message

Message ID 20210122004251.843837-1-dje@google.com (mailing list archive)
State New, archived
Headers show
Series net/slirp.c: Fix spelling error in error message | expand

Commit Message

dje--- via Jan. 22, 2021, 12:42 a.m. UTC
DNS should be DHCP

Signed-off-by: Doug Evans <dje@google.com>
---
 net/slirp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Samuel Thibault Jan. 22, 2021, 12:44 a.m. UTC | #1
Doug Evans, le jeu. 21 janv. 2021 16:42:51 -0800, a ecrit:
> DNS should be DHCP
> 
> Signed-off-by: Doug Evans <dje@google.com>

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

> ---
>  net/slirp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/slirp.c b/net/slirp.c
> index 8350c6d45f..be914c0be0 100644
> --- a/net/slirp.c
> +++ b/net/slirp.c
> @@ -473,7 +473,7 @@ static int net_slirp_init(NetClientState *peer, const char *model,
>          return -1;
>      }
>      if (dhcp.s_addr == host.s_addr || dhcp.s_addr == dns.s_addr) {
> -        error_setg(errp, "DNS must be different from host and DNS");
> +        error_setg(errp, "DHCP must be different from host and DNS");
>          return -1;
>      }
>  
> -- 
> 2.30.0.280.ga3ce27912f-goog
>
Philippe Mathieu-Daudé Jan. 25, 2021, 4:08 p.m. UTC | #2
On 1/22/21 1:42 AM, dje--- via wrote:
> DNS should be DHCP
> 
> Signed-off-by: Doug Evans <dje@google.com>
> ---
>  net/slirp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Laurent Vivier Jan. 27, 2021, 4:25 p.m. UTC | #3
Le 25/01/2021 à 17:08, Philippe Mathieu-Daudé a écrit :
> On 1/22/21 1:42 AM, dje--- via wrote:
>> DNS should be DHCP
>>
>> Signed-off-by: Doug Evans <dje@google.com>
>> ---
>>  net/slirp.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> 
> 

Applied to my trivial-patches branch.

Thanks,
Laurent
diff mbox series

Patch

diff --git a/net/slirp.c b/net/slirp.c
index 8350c6d45f..be914c0be0 100644
--- a/net/slirp.c
+++ b/net/slirp.c
@@ -473,7 +473,7 @@  static int net_slirp_init(NetClientState *peer, const char *model,
         return -1;
     }
     if (dhcp.s_addr == host.s_addr || dhcp.s_addr == dns.s_addr) {
-        error_setg(errp, "DNS must be different from host and DNS");
+        error_setg(errp, "DHCP must be different from host and DNS");
         return -1;
     }