diff options
author | ck153898 <none@none> | 2008-01-10 10:43:09 -0800 |
---|---|---|
committer | ck153898 <none@none> | 2008-01-10 10:43:09 -0800 |
commit | 97d9e3a676d96208790c885c4766194423e84b24 (patch) | |
tree | e06d7f498cc57342cc23c981fa4d3f42cddd885c | |
parent | f3680f0dfe52a22741c16b60ed1532fc95bf4f23 (diff) | |
download | illumos-gate-97d9e3a676d96208790c885c4766194423e84b24.tar.gz |
6609780 zpool dump core when trying to destroy pool
-rw-r--r-- | usr/src/lib/libzfs/common/libzfs_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/libzfs/common/libzfs_util.c b/usr/src/lib/libzfs/common/libzfs_util.c index b58da2c0bf..0c44ff49aa 100644 --- a/usr/src/lib/libzfs/common/libzfs_util.c +++ b/usr/src/lib/libzfs/common/libzfs_util.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -318,9 +318,9 @@ zfs_standard_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...) return (-1); } - switch (error) { case ENXIO: + case ENODEV: zfs_verror(hdl, EZFS_IO, fmt, ap); break; |