From b6a278e2c546d476bd7271e80fbdad4ee8d7abe8 Mon Sep 17 00:00:00 2001 From: Arshad Hussain Date: Mon, 30 Sep 2019 04:40:50 +0530 Subject: [PATCH] LU-6142 tests: Fix style issues for tchmod.c This patch fixes issues reported by checkpatch for file lustre/tests/tchmod.c Test-Parameters: trivial testlist=recovery-small Signed-off-by: Arshad Hussain Change-Id: I59a94c26e553a616d82ecc9a4d493511e808a82e Reviewed-on: https://review.whamcloud.com/36441 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Shaun Tancheff Reviewed-by: Petros Koutoupis --- lustre/tests/tchmod.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lustre/tests/tchmod.c b/lustre/tests/tchmod.c index 2d2c320..e266584 100644 --- a/lustre/tests/tchmod.c +++ b/lustre/tests/tchmod.c @@ -36,13 +36,13 @@ int main(int argc, char **argv) { - mode_t mode; + mode_t mode; - if (argc != 3) { - printf("usage: %s mode name\n", argv[0]); - return 1; - } + if (argc != 3) { + printf("usage: %s mode name\n", argv[0]); + return 1; + } - mode = strtoul(argv[1], NULL, 8); - return chmod(argv[2], mode) ? errno : 0; + mode = strtoul(argv[1], NULL, 8); + return chmod(argv[2], mode) ? errno : 0; } -- 1.8.3.1