Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/rpc fix double negation
details: https://anonhg.NetBSD.org/src/rev/15a3d34220ae
branches: trunk
changeset: 341886:15a3d34220ae
user: christos <christos%NetBSD.org@localhost>
date: Fri Nov 27 13:59:40 2015 +0000
description:
fix double negation
diffstat:
tests/lib/libc/rpc/t_rpc.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r 1a75abb6bf26 -r 15a3d34220ae tests/lib/libc/rpc/t_rpc.c
--- a/tests/lib/libc/rpc/t_rpc.c Fri Nov 27 13:51:57 2015 +0000
+++ b/tests/lib/libc/rpc/t_rpc.c Fri Nov 27 13:59:40 2015 +0000
@@ -1,7 +1,7 @@
-/* $NetBSD: t_rpc.c,v 1.8 2015/11/10 18:13:01 christos Exp $ */
+/* $NetBSD: t_rpc.c,v 1.9 2015/11/27 13:59:40 christos Exp $ */
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_rpc.c,v 1.8 2015/11/10 18:13:01 christos Exp $");
+__RCSID("$NetBSD: t_rpc.c,v 1.9 2015/11/27 13:59:40 christos Exp $");
#include <sys/types.h>
#include <sys/socket.h>
@@ -140,9 +140,9 @@
svc = svc_raw_create();
if (svc == NULL)
- ERRX(EXIT_FAILURE, "Can't not create server %d", num);
+ ERRX(EXIT_FAILURE, "Cannot create server %d", num);
if (!svc_reg(svc, PROGNUM, VERSNUM, server, NULL))
- ERRX(EXIT_FAILURE, "Can't not register server %d", num);
+ ERRX(EXIT_FAILURE, "Cannot register server %d", num);
clnt = clnt_raw_create(PROGNUM, VERSNUM);
if (clnt == NULL)
@@ -176,7 +176,7 @@
svc_fdset_init(p ? SVC_FDSET_POLL : 0);
if (!svc_create(server, PROGNUM, VERSNUM, transp))
- ERRX(EXIT_FAILURE, "Can't not create server %d", num);
+ ERRX(EXIT_FAILURE, "Cannot create server %d", num);
switch ((pid = fork())) {
case 0:
Home |
Main Index |
Thread Index |
Old Index