diff options
author | John Harres <John.Harres@Sun.COM> | 2009-10-07 08:41:01 -0600 |
---|---|---|
committer | John Harres <John.Harres@Sun.COM> | 2009-10-07 08:41:01 -0600 |
commit | d128bfbccd24bde7befeac7afb0936d5c7f9eb31 (patch) | |
tree | 312f141e07fb0f94e2eafbb9e153e9b9ad88b7ec /usr/src/lib/lvm | |
parent | 3ade6e843b7f9e2656892a172ecd9e302b0dee09 (diff) | |
download | illumos-joyent-d128bfbccd24bde7befeac7afb0936d5c7f9eb31.tar.gz |
6871427 Metadevice operations should fail if libsdssc doesn't contain required sdssc* routines
Diffstat (limited to 'usr/src/lib/lvm')
-rw-r--r-- | usr/src/lib/lvm/libmeta/common/sdssc_bind.c | 11 |
1 files changed, 4 insertions, 7 deletions
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 <dlfcn.h> #include <meta.h> #include <metadyn.h> @@ -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. */ |