summaryrefslogtreecommitdiff
path: root/usr.bin/rdist/client.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-03-05 01:36:13 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-03-05 01:36:13 +0000
commit0b7ab80037e73c21d00c0084b24b9e201fdfa441 (patch)
tree5b1e930fe4dbb2e081516c9fc56c3bdd1321cfc3 /usr.bin/rdist/client.c
parent75f687005e7096a4b704e86d274450d3f372d319 (diff)
make output look more like what BSD pritnf does when it hits a NULL
Diffstat (limited to 'usr.bin/rdist/client.c')
-rw-r--r--usr.bin/rdist/client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/rdist/client.c b/usr.bin/rdist/client.c
index 6cd4d91a103..46e712c22cb 100644
--- a/usr.bin/rdist/client.c
+++ b/usr.bin/rdist/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.11 1999/03/05 01:32:47 millert Exp $ */
+/* $OpenBSD: client.c,v 1.12 1999/03/05 01:36:12 millert Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -39,7 +39,7 @@ static char RCSid[] =
"$From: client.c,v 6.80 1996/02/28 20:34:27 mcooper Exp $";
#else
static char RCSid[] =
-"$OpenBSD: client.c,v 1.11 1999/03/05 01:32:47 millert Exp $";
+"$OpenBSD: client.c,v 1.12 1999/03/05 01:36:12 millert Exp $";
#endif
static char sccsid[] = "@(#)client.c";
@@ -364,8 +364,8 @@ static int sendhardlink(opts, lp, rname, destdir)
debugmsg(DM_MISC,
"sendhardlink: rname='%s' pathname='%s' src='%s' target='%s'\n",
- rname, lp->pathname ? lp->pathname : "nil",
- lp->src ? lp->src : "nil", lp->target ? lp->target : "nil");
+ rname, lp->pathname ? lp->pathname : "(null)", lp->src
+ ? lp->src : "(null)", lp->target ? lp->target : "(null)");
if (lp->target == NULL)
(void) sendcmd(C_RECVHARDLINK, "%o %s %s",