--- kern_vexec.c.orig Wed Oct 20 22:10:56 2004 +++ kern_vexec.c Wed Oct 20 22:02:35 2004 @@ -155,7 +155,6 @@ struct vexec_hash_entry *vexec_lookup(de */ int vexec_hashadd(struct vexec_hashtbl *tbl, struct vexec_hash_entry *e) { struct vexec_hashhead *vhh; - struct vexec_hash_entry *vhe; size_t indx; if (tbl == NULL) @@ -164,8 +163,8 @@ int vexec_hashadd(struct vexec_hashtbl * indx = VEXEC_HASH(tbl, e->vhe_inode); vhh = &(tbl->hash_tbl[indx]); - if (vhe == NULL) - panic("vexec_hashadd: vhe is NULL."); + if (vhh == NULL) + panic("vexec_hashadd: vhh is NULL."); /* Put in the hash table. */ LIST_INSERT_HEAD(vhh, e, vhe_list);