Don't forget to set kcb_self.

This commit is contained in:
davidxu 2003-08-12 22:13:06 +00:00
parent 43629d3ba9
commit 2bb2e522ee
2 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,7 @@ _kcb_ctor(struct kse *kse)
if ((kcb = malloc(sizeof(struct kcb))) != NULL) {
bzero(kcb, sizeof(struct kcb));
kcb->kcb_kse = kse;
kcb->kcb_self = kcb;
}
return (kcb);
}

View File

@ -61,6 +61,7 @@ _kcb_ctor(struct kse *kse)
if ((kcb = malloc(sizeof(struct kcb))) != NULL) {
bzero(kcb, sizeof(struct kcb));
kcb->kcb_kse = kse;
kcb->kcb_self = kcb;
}
return (kcb);
}