Skip to content
Commit 05598a09 authored by Patsy Franklin's avatar Patsy Franklin
Browse files

In sem_open.c, pad was not initialized when __HAVE_64B_ATOMICS was


true.  On some arches this caused valgrind to warn about uninitialized
bytes when the struct was written to the file system.

This patch moves the initialization of pad outside of the
conditional.

Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent 06ab719d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment