From 2a0f025a41bf4b837fe590b0f78e06f73b9f4c2a Mon Sep 17 00:00:00 2001 From: mrg Date: Fri, 14 Jun 1996 09:27:23 +0000 Subject: [PATCH] use VATTR_NULL macro. --- sys/miscfs/fdesc/fdesc_vnops.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c index 20d7b290d4f8..eedd3ab34278 100644 --- a/sys/miscfs/fdesc/fdesc_vnops.c +++ b/sys/miscfs/fdesc/fdesc_vnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: fdesc_vnops.c,v 1.32 1996/04/11 11:24:29 mrg Exp $ */ +/* $NetBSD: fdesc_vnops.c,v 1.33 1996/06/14 09:27:23 mrg Exp $ */ /* * Copyright (c) 1992, 1993 @@ -505,8 +505,7 @@ fdesc_getattr(v) case Fdevfd: case Flink: case Fctty: - bzero((caddr_t) vap, sizeof(*vap)); - vattr_null(vap); + VATTR_NULL(vap); vap->va_fileid = VTOFDESC(vp)->fd_ix; #define R_ALL (S_IRUSR|S_IRGRP|S_IROTH)