1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

Cosmetic tweaks to reduce diffs to the i386 counterpart.

This commit is contained in:
Peter Wemm 2004-11-06 03:33:19 +00:00
parent 24b4ec3d21
commit 2cdea9a39f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137294
2 changed files with 6 additions and 4 deletions

View File

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

View File

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