diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-05-09 09:53:29 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-05-09 09:53:29 +0000 |
commit | a329cf19fc2ad2d6b69f5585388aedf928fbf4da (patch) | |
tree | 7daaa7f0cbb3090f4eb12be240af7f9ab20a0081 /libexec/ld.so | |
parent | cdaed1a3f3476be7e0a26b1ef983db5a57e5cd18 (diff) |
use _dl_memset() instead of bzero() here. Unbreaks sparc build.
ok kettenis@
Diffstat (limited to 'libexec/ld.so')
-rw-r--r-- | libexec/ld.so/library_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/library_subr.c b/libexec/ld.so/library_subr.c index 8ec364bc107..a1eb5fae752 100644 --- a/libexec/ld.so/library_subr.c +++ b/libexec/ld.so/library_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: library_subr.c,v 1.29 2010/05/01 07:46:30 jsg Exp $ */ +/* $OpenBSD: library_subr.c,v 1.30 2010/05/09 09:53:28 matthieu Exp $ */ /* * Copyright (c) 2002 Dale Rahn @@ -160,7 +160,7 @@ nohints: else searchpath = DEFAULT_PATH; } - bzero(&bsod, sizeof(bsod)); + _dl_memset(&bsod, 0, sizeof(bsod)); pp = searchpath; while (pp) { path = lp; |