diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2013-12-12 22:25:08 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-12-12 22:25:08 +0400 |
commit | 3fc000aa67ee38002ec97419a760f23cccd87210 (patch) | |
tree | 23e8dbd6b8e6e4744b0a505a2fd56b0d21ca2b14 /accel-pppd | |
parent | 86f648a7b90fccde400aab7a3e63a0bfbcabf2e0 (diff) | |
download | accel-ppp-3fc000aa67ee38002ec97419a760f23cccd87210.tar.gz accel-ppp-3fc000aa67ee38002ec97419a760f23cccd87210.zip |
fixed missing spinlock initialized (fixes stuck)
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/session.c b/accel-pppd/session.c index 1efad5e..c74de57 100644 --- a/accel-pppd/session.c +++ b/accel-pppd/session.c @@ -43,7 +43,7 @@ int __export urandom_fd; int __export ap_shutdown; #if __WORDSIZE == 32 -static spinlock_t seq_lock; +static spinlock_t seq_lock = SPINLOCK_INITIALIZER; #endif static long long unsigned seq; static struct timespec seq_ts; |