aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2013-12-25 00:39:04 +0000
committerXin LI <delphij@FreeBSD.org>2013-12-25 00:39:04 +0000
commit4e5c0539bbdd4e44929940aff47f893c5c8cab9b (patch)
treed29b7e1ea115aa2c5206ca0c59d326b94f7e30cc /cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c
parent7e81d0c8c332dea2cb944f7ad5b35d07a94d3b46 (diff)
parent4f662c9721dc32d7be27a1f4bc153a775d33b889 (diff)
downloadsrc-4e5c0539bbdd4e44929940aff47f893c5c8cab9b.tar.gz
src-4e5c0539bbdd4e44929940aff47f893c5c8cab9b.zip
MFV r258384:
2583 Add -p (parsable) option to zfs list illumos/illumos-gate@43d68d68c1ce08fb35026bebfb141af422e7082e MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=259850
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c')
-rw-r--r--cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c b/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c
index 62cd9d01e89c..099d27e08e5d 100644
--- a/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c
+++ b/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c
@@ -18,10 +18,12 @@
*
* CDDL HEADER END
*/
+
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012 Pawel Jakub Dawidek <pawel@dawidek.net>.
* All rights reserved.
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
#include <libintl.h>
@@ -109,7 +111,8 @@ zfs_callback(zfs_handle_t *zhp, void *data)
cb->cb_props_table);
if (zfs_expand_proplist(zhp, cb->cb_proplist,
- (cb->cb_flags & ZFS_ITER_RECVD_PROPS))
+ (cb->cb_flags & ZFS_ITER_RECVD_PROPS),
+ (cb->cb_flags & ZFS_ITER_LITERAL_PROPS))
!= 0) {
free(node);
return (-1);