diff options
-rw-r--r-- | usr.bin/rdist/client.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/rdist/client.c b/usr.bin/rdist/client.c index 4f607ff3d08..6cd4d91a103 100644 --- a/usr.bin/rdist/client.c +++ b/usr.bin/rdist/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.10 1999/02/23 21:27:15 millert Exp $ */ +/* $OpenBSD: client.c,v 1.11 1999/03/05 01:32:47 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.10 1999/02/23 21:27:15 millert Exp $"; +"$OpenBSD: client.c,v 1.11 1999/03/05 01:32:47 millert Exp $"; #endif static char sccsid[] = "@(#)client.c"; @@ -364,7 +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->src, lp->target); + rname, lp->pathname ? lp->pathname : "nil", + lp->src ? lp->src : "nil", lp->target ? lp->target : "nil"); if (lp->target == NULL) (void) sendcmd(C_RECVHARDLINK, "%o %s %s", |