1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

another fixme

This commit is contained in:
Alasdair Kergon 2009-07-31 16:57:06 +00:00
parent 4d8c4ea7e6
commit b634751cc4

View File

@ -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;