From: Alasdair Kergon Date: Fri, 31 Jul 2009 16:57:06 +0000 (+0000) Subject: another fixme X-Git-Tag: old-v2_02_51~41 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=fd69075a8bc9cffd06a61c53fbd7345a64403bcf;p=lvm2.git another fixme --- diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index 940cf5ad4..b488b02e2 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -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;