summaryrefslogtreecommitdiffstats
path: root/sys/miscfs
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-12-07 02:47:46 +0000
committereivind <eivind@FreeBSD.org>1998-12-07 02:47:46 +0000
commitcae573fc343f5ecc165e1ddbb5605f12cecee146 (patch)
treea89503de79d137f2702661e3825dbac3dfef9068 /sys/miscfs
parentd5e7be6625903d2130e41ab798985d4cbab4f0fe (diff)
downloadFreeBSD-src-cae573fc343f5ecc165e1ddbb5605f12cecee146.zip
FreeBSD-src-cae573fc343f5ecc165e1ddbb5605f12cecee146.tar.gz
'\0' is the most ugly NULL pointer constant I've ever seen in real code.
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/union/union_subr.c4
1 files changed, 2 insertions, 2 deletions
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 <sys/param.h>
@@ -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);
OpenPOWER on IntegriCloud