* GPL HEADER END
*/
/*
- * Copyright (c) 2012, Intel Corporation.
+ * Copyright (c) 2012, 2013, Intel Corporation.
* Use is subject to license terms.
*
*/
* spamming ldiskfs users. An error message will still be printed if
* someone tries to do some real work involving a ZFS backend */
- handle_libzfs = dlopen("libzfs.so", RTLD_LAZY);
+ handle_libzfs = dlopen("libzfs.so.1", RTLD_LAZY);
if (handle_libzfs == NULL)
return EINVAL;
- handle_nvpair = dlopen("libnvpair.so", RTLD_LAZY);
+ handle_nvpair = dlopen("libnvpair.so.1", RTLD_LAZY);
if (handle_nvpair == NULL) {
ret = EINVAL;
goto out;