Don't forget to set kcb_self.
This commit is contained in:
parent
43629d3ba9
commit
2bb2e522ee
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user