diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-22 00:43:19 -0400 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-11-09 15:33:57 -0800 |
commit | a30f9acb812f908cf33a13dd6ffe3cfe51e13a74 (patch) | |
tree | 1b4a7097bd1a722863e2b36b93d8477106ed9fac /libc/unistd/getlogin.c | |
parent | 964d40c5d90598d70616fe54de934ddda39bdc2c (diff) |
sysctl: avoid inline initialization
Assign each field one by one rather than stack initialization as gcc will
call memset() to zero out the rest of the structure -- which we don't care
about as the field is unused and not seen outside of the libc.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/unistd/getlogin.c')
0 files changed, 0 insertions, 0 deletions