From cae573fc343f5ecc165e1ddbb5605f12cecee146 Mon Sep 17 00:00:00 2001 From: eivind Date: Mon, 7 Dec 1998 02:47:46 +0000 Subject: '\0' is the most ugly NULL pointer constant I've ever seen in real code. --- sys/miscfs/union/union_subr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/miscfs') diff --git a/sys/miscfs/union/union_subr.c b/sys/miscfs/union/union_subr.c index 18d79b5..4e7089e 100644 --- a/sys/miscfs/union/union_subr.c +++ b/sys/miscfs/union/union_subr.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)union_subr.c 8.20 (Berkeley) 5/20/95 - * $Id: union_subr.c,v 1.32 1998/11/03 08:01:48 peter Exp $ + * $Id: union_subr.c,v 1.33 1998/11/15 15:33:51 bde Exp $ */ #include @@ -774,7 +774,7 @@ union_relookup(um, dvp, vpp, cnp, cn, path, pathlen) vrele(dvp); else { zfree(namei_zone, cn->cn_pnbuf); - cn->cn_pnbuf = '\0'; + cn->cn_pnbuf = NULL; } return (error); -- cgit v1.1