]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
blkpr: fix extra ';' outside of a function [clang]
authorKarel Zak <kzak@redhat.com>
Wed, 6 Apr 2022 10:43:05 +0000 (12:43 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Apr 2022 10:43:05 +0000 (12:43 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/blkpr.c

index 01154a8542c63f85a0ef424bcd6cceb6ea8129a1..d46eb19c12d2dee719929fad975f7f1f565cc428 100644 (file)
@@ -95,13 +95,13 @@ static int parse_type_by_str(struct type_string *ts, int nmem, char *pattern)
        static int parse_##XX(char *pattern) \
        { return parse_type_by_str(XX, ARRAY_SIZE(XX), pattern); }
 
-PRINT_SUPPORTED(pr_type);
-PRINT_SUPPORTED(pr_operation);
-PRINT_SUPPORTED(pr_flag);
+PRINT_SUPPORTED(pr_type)
+PRINT_SUPPORTED(pr_operation)
+PRINT_SUPPORTED(pr_flag)
 
-PARSE(pr_type);
-PARSE(pr_operation);
-PARSE(pr_flag);
+PARSE(pr_type)
+PARSE(pr_operation)
+PARSE(pr_flag)
 
 static int do_pr(char *path, uint64_t key, uint64_t oldkey, int op, int type, int flag)
 {