sysvshm-lll
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 5 Jan 2021 05:47:42 +0000 (05:47 +0000)
committerAurelien Jarno <aurel32@debian.org>
Tue, 5 Jan 2021 05:47:42 +0000 (05:47 +0000)
To be folded into tg-sysvshm.diff once upgraded to 2.33

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name sysvshm-lll.diff

hurd/sysvshm.c

index 1c57705c2e956a6c43a0a098a28ee21d53c23a21..8557d68d6cb0ee38f988f0ec33e6523636b15be3 100644 (file)
@@ -45,7 +45,7 @@ struct sysvshm_attach
 static struct sysvshm_attach *attach_list;
 
 /* A lock to protect the linked list of shared memory attachments.  */
-static unsigned int sysvshm_lock = LLL_INITIALIZER;
+static unsigned int sysvshm_lock = LLL_LOCK_INITIALIZER;
 
 \f
 /* Adds a segment attachment.  */