From 6b7028ec5189386e73b978fa68ce2a0d22ec0343 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 17 Mar 2020 15:42:27 -0700 Subject: [PATCH] Fix cstyle warnings Fix minor cstyle warnings accidentally introduced by 7145123b. Reviewed-by: Paul Dagnelie Signed-off-by: Brian Behlendorf Closes #10143 --- contrib/pyzfs/libzfs_core/exceptions.py | 2 +- 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 6c571b7e2c..e484b07b64 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 cb73df59bf..47e8ff5e20 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);