diff options
author | Brian Behlendorf <[email protected]> | 2020-03-17 15:42:27 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-17 15:42:27 -0700 |
commit | 6b7028ec5189386e73b978fa68ce2a0d22ec0343 (patch) | |
tree | 25ae2d71918446e10ead4ee267583034bbd35182 | |
parent | 7145123b0ae4d625a419ee357a0df9467b1e8311 (diff) |
Fix cstyle warnings
Fix minor cstyle warnings accidentally introduced by 7145123b.
Reviewed-by: Paul Dagnelie <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #10143
-rw-r--r-- | contrib/pyzfs/libzfs_core/exceptions.py | 2 | ||||
-rw-r--r-- | tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/pyzfs/libzfs_core/exceptions.py b/contrib/pyzfs/libzfs_core/exceptions.py index 6c571b7e2..e484b07b6 100644 --- a/contrib/pyzfs/libzfs_core/exceptions.py +++ b/contrib/pyzfs/libzfs_core/exceptions.py @@ -355,7 +355,7 @@ class StreamFeatureIncompatible(ZFSError): class StreamTruncated(ZFSError): errno = zfs_errno.ZFS_ERR_STREAM_TRUNCATED message = "incomplete stream" - + class ReceivePropertyFailure(MultipleOperationsFailure): message = "Receiving of properties failed for one or more reasons" diff --git a/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c b/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c index cb73df59b..47e8ff5e2 100644 --- a/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c +++ b/tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c @@ -556,7 +556,8 @@ test_recv_new(const char *dataset, int fd) fnvlist_add_boolean(optional, "resumable"); fnvlist_add_uint64(optional, "action_handle", *action_handle); #endif - IOC_INPUT_TEST(ZFS_IOC_RECV_NEW, dataset, required, optional, ZFS_ERR_STREAM_TRUNCATED); + IOC_INPUT_TEST(ZFS_IOC_RECV_NEW, dataset, required, optional, + ZFS_ERR_STREAM_TRUNCATED); nvlist_free(props); nvlist_free(optional); |