From d128bfbccd24bde7befeac7afb0936d5c7f9eb31 Mon Sep 17 00:00:00 2001 From: John Harres Date: Wed, 7 Oct 2009 08:41:01 -0600 Subject: 6871427 Metadevice operations should fail if libsdssc doesn't contain required sdssc* routines --- usr/src/lib/lvm/libmeta/common/sdssc_bind.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'usr/src') diff --git a/usr/src/lib/lvm/libmeta/common/sdssc_bind.c b/usr/src/lib/lvm/libmeta/common/sdssc_bind.c index 5abbb841aa..dca107b87f 100644 --- a/usr/src/lib/lvm/libmeta/common/sdssc_bind.c +++ b/usr/src/lib/lvm/libmeta/common/sdssc_bind.c @@ -18,15 +18,12 @@ * * CDDL HEADER END */ + /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -/* - * Block comment which describes the contents of this file. - */ - #include #include #include @@ -178,17 +175,17 @@ sdssc_bind_library(void) /* * If old libsdssc library is there, then - * sdssc_mo_create_begin is not yet supported. + * _sdssc_mo_create_begin is not yet supported. */ if (strcmp(ftp->fname, - "sdssc_mo_create_begin")) { + "_sdssc_mo_create_begin") == 0) { *ftp->fptr = (void *)¬_bound_error; continue; } /* * If this routine fails to find a single * entry point that it's expecting - * (except sdssc_mo_create_begin) then + * (except _sdssc_mo_create_begin) then * setup non-sdssc stubs routines * as function pointers. */ -- cgit v1.2.3