[PATCH] net/slirp.c: Fix spelling error in error message

dje--- via posted 1 patch 4 years, 10 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210122004251.843837-1-dje@google.com
Maintainers: Samuel Thibault <samuel.thibault@ens-lyon.org>, Jason Wang <jasowang@redhat.com>
net/slirp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] net/slirp.c: Fix spelling error in error message
Posted by dje--- via 4 years, 10 months ago
DNS should be DHCP

Signed-off-by: Doug Evans <dje@google.com>
---
 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


Re: [PATCH] net/slirp.c: Fix spelling error in error message
Posted by Samuel Thibault 4 years, 10 months ago
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
> 

Re: [PATCH] net/slirp.c: Fix spelling error in error message
Posted by Philippe Mathieu-Daudé 4 years, 9 months ago
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>


Re: [PATCH] net/slirp.c: Fix spelling error in error message
Posted by Laurent Vivier 4 years, 9 months ago
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