ctdb/ib/ibwrapper_test.c: typo fixes
authorBjörn Jacke <bj@sernet.de>
Sat, 26 Oct 2019 00:41:08 +0000 (02:41 +0200)
committerBjoern Jacke <bjacke@samba.org>
Thu, 31 Oct 2019 00:43:38 +0000 (00:43 +0000)
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/ib/ibwrapper_test.c

index bc88dad051c4244a7ca44b3869a5e104817f434e..5eb3209b68c24f91dfefc25187592c67a8ee2edd 100644 (file)
@@ -467,7 +467,7 @@ static int ibwtest_get_address(const char *address, struct in_addr *addr)
        if (inet_pton(AF_INET, address, addr) <= 0) {
                struct hostent *he = gethostbyname(address);
                if (he == NULL || he->h_length > sizeof(*addr)) {
-                       DEBUG(DEBUG_ERR, ("invalid nework address '%s'\n", address));
+                       DEBUG(DEBUG_ERR, ("invalid network address '%s'\n", address));
                        return -1;
                }
                memcpy(addr, he->h_addr, he->h_length);