libzfs_pool.c (266611) | libzfs_pool.c (268650) |
---|---|
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 --- 289 unchanged lines hidden (view full) --- 298 case PROP_TYPE_NUMBER: 299 intval = zpool_get_prop_int(zhp, prop, &src); 300 301 switch (prop) { 302 case ZPOOL_PROP_SIZE: 303 case ZPOOL_PROP_ALLOCATED: 304 case ZPOOL_PROP_FREE: 305 case ZPOOL_PROP_FREEING: | 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 --- 289 unchanged lines hidden (view full) --- 298 case PROP_TYPE_NUMBER: 299 intval = zpool_get_prop_int(zhp, prop, &src); 300 301 switch (prop) { 302 case ZPOOL_PROP_SIZE: 303 case ZPOOL_PROP_ALLOCATED: 304 case ZPOOL_PROP_FREE: 305 case ZPOOL_PROP_FREEING: |
306 case ZPOOL_PROP_LEAKED: |
|
306 case ZPOOL_PROP_EXPANDSZ: 307 if (literal) { 308 (void) snprintf(buf, len, "%llu", 309 (u_longlong_t)intval); 310 } else { 311 (void) zfs_nicenum(intval, buf, len); 312 } 313 break; --- 3841 unchanged lines hidden --- | 307 case ZPOOL_PROP_EXPANDSZ: 308 if (literal) { 309 (void) snprintf(buf, len, "%llu", 310 (u_longlong_t)intval); 311 } else { 312 (void) zfs_nicenum(intval, buf, len); 313 } 314 break; --- 3841 unchanged lines hidden --- |