]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (mkfds) fix typos in error messages
authorMasatake YAMATO <yamato@redhat.com>
Tue, 31 Jan 2023 12:07:22 +0000 (21:07 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Thu, 2 Feb 2023 14:17:47 +0000 (23:17 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/helpers/test_mkfds.c

index bcb13c84e7b713821bd3883d77b5c28ef45b8196..49a1582fbfc53b3b4b7103e5a1d913177bf0dea3 100644 (file)
@@ -1332,7 +1332,7 @@ static void *make_tcp(const struct factory *factory, struct fdesc fdescs[],
                close(ssd);
                close(csd);
                errno = e;
-               err(EXIT_FAILURE, "failed to connect a client socket to the serer socket");
+               err(EXIT_FAILURE, "failed to connect a client socket to the server socket");
        }
 
        asd = accept(ssd, NULL, NULL);
@@ -1433,7 +1433,7 @@ static void *make_udp(const struct factory *factory, struct fdesc fdescs[],
                        int e = errno;
                        close(ssd);
                        errno = e;
-                       err(EXIT_FAILURE, "failed to bind a srever socket");
+                       err(EXIT_FAILURE, "failed to bind a server socket");
                }
        }
 
@@ -1487,7 +1487,7 @@ static void *make_udp(const struct factory *factory, struct fdesc fdescs[],
                        close(ssd);
                        close(csd);
                        errno = e;
-                       err(EXIT_FAILURE, "failed to connect a client socket to the serer socket");
+                       err(EXIT_FAILURE, "failed to connect a client socket to the server socket");
                }
        }