diff options
author | peter <peter@FreeBSD.org> | 2004-11-06 03:33:19 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-11-06 03:33:19 +0000 |
commit | 1028f02dbd2f69077dfa64d7eb25bae225e0bf93 (patch) | |
tree | bd02fb8fece71fee5f8d2e6de4abeeb990512ee3 /lib/libkse/arch | |
parent | 39432ffbdfc0e85d9c7a0989460e4344f1d06d1e (diff) | |
download | FreeBSD-src-1028f02dbd2f69077dfa64d7eb25bae225e0bf93.zip FreeBSD-src-1028f02dbd2f69077dfa64d7eb25bae225e0bf93.tar.gz |
Cosmetic tweaks to reduce diffs to the i386 counterpart.
Diffstat (limited to 'lib/libkse/arch')
-rw-r--r-- | lib/libkse/arch/amd64/amd64/pthread_md.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libkse/arch/amd64/amd64/pthread_md.c b/lib/libkse/arch/amd64/amd64/pthread_md.c index 67d4943..3aceec7 100644 --- a/lib/libkse/arch/amd64/amd64/pthread_md.c +++ b/lib/libkse/arch/amd64/amd64/pthread_md.c @@ -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); } |