zpool_find_import_impl: another /dev/dsk -> /dev fix

This seems to fix zdb -e behavior.

PR:		bin/155104
Submitted by:	swell.k@gmail.com
MFC after:	2 weeks
This commit is contained in:
Andriy Gapon 2012-05-15 17:11:00 +00:00
parent 0002b76d93
commit 5e1ba35cea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235479

View File

@ -1145,7 +1145,7 @@ zpool_find_import_impl(libzfs_handle_t *hdl, importargs_t *iarg)
char *end, **dir = iarg->path;
size_t pathleft;
nvlist_t *ret = NULL;
static char *default_dir = "/dev/dsk";
static char *default_dir = "/dev";
pool_list_t pools = { 0 };
pool_entry_t *pe, *penext;
vdev_entry_t *ve, *venext;