diff options
author | 2018-05-10 14:29:17 +0000 | |
---|---|---|
committer | 2018-05-10 14:29:17 +0000 | |
commit | 0285356abfdc06b433ed296eb8b6147dba3b58aa (patch) | |
tree | fbc186f6fd6055d00524ffac5c66a73c5c721f46 | |
parent | Do not mention TCP in tcpbench comments and error messages regarding (diff) | |
download | wireguard-openbsd-0285356abfdc06b433ed296eb8b6147dba3b58aa.tar.xz wireguard-openbsd-0285356abfdc06b433ed296eb8b6147dba3b58aa.zip |
more errx -> err, from schwarze@
-rw-r--r-- | usr.bin/tcpbench/tcpbench.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tcpbench/tcpbench.c b/usr.bin/tcpbench/tcpbench.c index 2711e23fb23..03f906e7e07 100644 --- a/usr.bin/tcpbench/tcpbench.c +++ b/usr.bin/tcpbench/tcpbench.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcpbench.c,v 1.54 2018/05/10 14:19:03 bluhm Exp $ */ +/* $OpenBSD: tcpbench.c,v 1.55 2018/05/10 14:29:17 benno Exp $ */ /* * Copyright (c) 2008 Damien Miller <djm@mindrot.org> @@ -457,9 +457,9 @@ check_prepare_kvars(char *list) while ((item = strsep(&list, ", \t\n")) != NULL) { check_kvar(item); if ((ret = reallocarray(ret, (++n + 1), sizeof(*ret))) == NULL) - errx(1, "reallocarray(kvars)"); + err(1, "reallocarray(kvars)"); if ((ret[n - 1] = strdup(item)) == NULL) - errx(1, "strdup"); + err(1, "strdup"); ret[n] = NULL; } return (ret); |