mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
another fixme
This commit is contained in:
parent
4d8c4ea7e6
commit
b634751cc4
@ -818,6 +818,7 @@ int dm_udev_get_sync_support(void)
|
||||
|
||||
static int _get_cookie_sem(uint32_t cookie, int *semid)
|
||||
{
|
||||
/* FIXME Ensure cookie has COOKIE_MAGIC prefix */
|
||||
if ((*semid = semget((key_t) cookie, 1, 0)) >= 0)
|
||||
return 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user