summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/pcfs/pc_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/fs/pcfs/pc_node.c')
-rw-r--r--usr/src/uts/common/fs/pcfs/pc_node.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/uts/common/fs/pcfs/pc_node.c b/usr/src/uts/common/fs/pcfs/pc_node.c
index 33d6fd2659..fb304f35fe 100644
--- a/usr/src/uts/common/fs/pcfs/pc_node.c
+++ b/usr/src/uts/common/fs/pcfs/pc_node.c
@@ -23,8 +23,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/param.h>
#include <sys/t_lock.h>
#include <sys/errno.h>
@@ -140,8 +138,7 @@ pc_getnode(
* Cannot find node in active list. Allocate memory for a new node
* initialize it, and put it on the active list.
*/
- pcp = kmem_alloc(sizeof (struct pcnode), KM_SLEEP);
- bzero(pcp, sizeof (struct pcnode));
+ pcp = kmem_zalloc(sizeof (struct pcnode), KM_SLEEP);
vp = vn_alloc(KM_SLEEP);
pcp->pc_vn = vp;
pcp->pc_entry = *ep;