X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Ftchmod.c;h=e266584e567317a74cb898576f75a2bf8b88b537;hb=83d660436a164758fd4a29c1433d11c0f4591196;hp=2d2c3200fbcda42d247623bfc2c78ed53f694d90;hpb=72057a3af19ee02d9a686bd7e7d074917e381310;p=fs%2Flustre-release.git 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; }