libzfs_util.c (209962) | libzfs_util.c (213197) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 196 unchanged lines hidden (view full) --- 205 return (dgettext(TEXT_DOMAIN, "vdev specification is not " 206 "supported")); 207 case EZFS_NOTSUP: 208 return (dgettext(TEXT_DOMAIN, "operation not supported " 209 "on this dataset")); 210 case EZFS_ACTIVE_SPARE: 211 return (dgettext(TEXT_DOMAIN, "pool has active shared spare " 212 "device")); | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 196 unchanged lines hidden (view full) --- 205 return (dgettext(TEXT_DOMAIN, "vdev specification is not " 206 "supported")); 207 case EZFS_NOTSUP: 208 return (dgettext(TEXT_DOMAIN, "operation not supported " 209 "on this dataset")); 210 case EZFS_ACTIVE_SPARE: 211 return (dgettext(TEXT_DOMAIN, "pool has active shared spare " 212 "device")); |
213 case EZFS_UNPLAYED_LOGS: 214 return (dgettext(TEXT_DOMAIN, "log device has unplayed intent " 215 "logs")); |
|
213 case EZFS_UNKNOWN: 214 return (dgettext(TEXT_DOMAIN, "unknown error")); 215 default: 216 assert(hdl->libzfs_error == 0); 217 return (dgettext(TEXT_DOMAIN, "no error")); 218 } 219} 220 --- 1208 unchanged lines hidden --- | 216 case EZFS_UNKNOWN: 217 return (dgettext(TEXT_DOMAIN, "unknown error")); 218 default: 219 assert(hdl->libzfs_error == 0); 220 return (dgettext(TEXT_DOMAIN, "no error")); 221 } 222} 223 --- 1208 unchanged lines hidden --- |