zpool_do_import: use /dev instead of /dev/dsk as a default

This affects behavior of zpool import without -d option.

Reported by:	Bruce Cran <bruce@cran.org.uk>
Submitted by:	Fabian Keil <freebsd-listen@fabiankeil.de>
MFC after:	2 weeks
This commit is contained in:
Andriy Gapon 2012-05-15 17:07:29 +00:00
parent 27f190a3ca
commit 0002b76d93
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235478

View File

@ -1909,7 +1909,7 @@ zpool_do_import(int argc, char **argv)
if (searchdirs == NULL) {
searchdirs = safe_malloc(sizeof (char *));
searchdirs[0] = "/dev/dsk";
searchdirs[0] = "/dev";
nsearch = 1;
}