From 312c20f2c868d8fdc014108152cc7782ae6ec90b Mon Sep 17 00:00:00 2001 From: Yaroslav de la Peña Smirnov Date: Sat, 13 Sep 2025 01:37:55 +0300 Subject: clang-format: align with spaces Also format cli after the changes. --- cli/cli-opts.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cli/cli-opts.h') diff --git a/cli/cli-opts.h b/cli/cli-opts.h index 2266230..d429ca1 100644 --- a/cli/cli-opts.h +++ b/cli/cli-opts.h @@ -20,7 +20,7 @@ */ struct cli_opt_data_size { struct cli_opt opt; - uint64_t bytes; + uint64_t bytes; }; #define CLI_OPT_DATA_SIZE(name, sh, ln, dsc) \ @@ -40,8 +40,8 @@ int cli_opt_data_size_set(struct cli_opt *self, const char *val) struct cli_opt_data_size *opt = container_of(self, struct cli_opt_data_size, opt); - char *endptr = NULL; - errno = 0; + char *endptr = NULL; + errno = 0; unsigned long long num = strtoull(val, &endptr, 10); if (errno != 0) goto invalid; @@ -70,9 +70,9 @@ int cli_opt_data_size_set(struct cli_opt *self, const char *val) return CLI_RC_OK; invalid: fprintf(stderr, - "invalid value \"%s\", expected a number optionally followed " - "by a multiplicative suffix (K, M, G, T).\n", - val); + "invalid value \"%s\", expected a number optionally followed " + "by a multiplicative suffix (K, M, G, T).\n", + val); return CLI_RC_ERR; } -- cgit v1.2.3