sysvshm-lll
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 19 Apr 2023 21:17:51 +0000 (22:17 +0100)
committerAurelien Jarno <aurel32@debian.org>
Wed, 19 Apr 2023 21:17:51 +0000 (22:17 +0100)
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.  */